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

Specification for Component -- null param behavior not specified

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 1.2.0
    • Fix Version/s: 1.2.0
    • Component/s: docs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      1.2fcs
    • CPU:
      generic
    • OS:
      solaris_2.5
    • Verification:
      Verified

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: