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

removeNotificationListener: SPEC and RI differs

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.1
    • 2.0
    • core-svc
    • None
    • 1.1
    • sparc
    • solaris_7
    • Verified

        In the "JMX Instrumentation and Agent Specification, v1.0"
        (Dec.99, public release 2),
        in the specification of the removeNotificationListener method of the NotificationBraodcaster interface (chapter 2, p48),
        it is specified that this method can optionally take as second parameter a handback object: if it is provided only the entry corresponding to the (listener, handback) pair should be removed otherwise all entries for the listener are removed.

        However, in the current Reference Implementation of this specification, the removeNotificationListener method of the NotificationBroadcaster interface takes only ONE parameter, which is the listener to be removed (therefore, all entries for this listener are always removed) .

              busersunw Btplusnull User (Inactive)
              jferaud Joel Feraud (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: