Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4147289

spec for java.awt.Choice.insert() is incomplete

XMLWordPrintable

    • beta
    • sparc
    • solaris_2.5



      Name: dsC58869 Date: 06/10/98



      The behaviour for java.awt.Choice.insert(String item, int index)
      is not specified by javadoc. It is not clear whether the currently
      selected item will be changed or not. Current implementation may
      change selected item which is neither evident nor consistent with
      remove().See bug 4115156 (marked as will not fix) for details.
      Evaluation for 4115156 says that current behaviour is documented
      in Java Class Libraries 2nd Edition. It should be documented
      in the spec (i.e. javadoc) as well as JCK cannot rely on any source
      other than the spec.

      ======================================================================
       Justification:
      Incomplete specification, should be fixed for JCK testing.

      ======================================================================

            sharonz Sharon Zakhour (Inactive)
            dsilaev Dmitri Silaev
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: