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

Specs for java.awt.MenuComponent methods are unsufficient

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.4.0
    • 1.3.0
    • docs
    • None
    • beta2
    • sparc
    • solaris_2.6

      The specs for java.awt.MenuComponent do not describe behaviour of
      its methods when null is passed as a parameter. They are also silent
      about what are the initial attributes values of just created MenuComponent.
      For example, Reference Implementation for eJava returns null as a name of
      a MenuBar (direct ancestor of MenuComponent) if the setName method hasn't
      been previously called. On the other hand, all standard JDKs return non-null
      value starting with "menubar" in this case. It is not possible to infer
      from specs which behaviour is expected.

            sharonz Sharon Zakhour (Inactive)
            savzan Stanislav Avzan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: