-
Bug
-
Resolution: Fixed
-
P3
-
7
-
b40
-
generic
-
generic
-
Verified
As of JDK 7 b37 the EventClient method getEventClientNotificationInfo is documented that way:
Get the types of notification that an EventClient can send to listeners added with addEventClientListener.
Returns:
Types of notification emitted by this EventClient.
See Also:
FAILED, NONFATAL, NOTIFS_LOST
When you print the sole entry present in the returned array you read:
javax.management.MBeanNotificationInfo[description=, name=javax.management.Notification, notifTypes=[jmx.event.service.failed, jmx.event.service.notifs.lost]]
1. ==> why only 2 values for notifTypes as apparently 3 are possible ? Is it a documentation issue ? an implementation one ? did I miss something ?
2. ==> why an empty description ? I've the feeling an high level sentence is worth reading.
Get the types of notification that an EventClient can send to listeners added with addEventClientListener.
Returns:
Types of notification emitted by this EventClient.
See Also:
FAILED, NONFATAL, NOTIFS_LOST
When you print the sole entry present in the returned array you read:
javax.management.MBeanNotificationInfo[description=, name=javax.management.Notification, notifTypes=[jmx.event.service.failed, jmx.event.service.notifs.lost]]
1. ==> why only 2 values for notifTypes as apparently 3 are possible ? Is it a documentation issue ? an implementation one ? did I miss something ?
2. ==> why an empty description ? I've the feeling an high level sentence is worth reading.