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

Specification for Component -- null param behavior not specified

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.2.0
    • 1.2.0
    • docs
    • 1.2fcs
    • generic
    • solaris_2.5
    • Verified

      Need to specify behavior if listeners are added/removed with null references
      passed as input parameters. By convention, a null input parameter should
      result in a NullPointer exception unless otherwise documented. listener
      add/remove methods for component have no effect (no exception) if a null
      reference is passed as input.

      Similarly, passing a listener to remove() that was never added has no
      effect and should be documented so the jck can test this case.

            asommere Alan Sommerer (Inactive)
            sflemingsunw Steve Fleming (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: