Specs for Menu.remove don't define its behaviour in case of null

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 1.4.0
    • Affects Version/s: 1.2.0
    • Component/s: docs
    • merlin
    • sparc
    • solaris_2.5



      Name: saC57035 Date: 10/05/98


      The specs for Menu.remove(MenuComponent item) say nothing
      about the method's behaviour when item is null.

      In JDK 1.1.X NullPointerException is thrown in this case.
      Starting with JDK 1.2 this method silently accepts null
      and does nothing. The scarce docs make impossible to
      determine which behaviour is correct.

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

            Assignee:
            Suzette Haines (Inactive)
            Reporter:
            Stanislav Avzan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: