-
Type:
Bug
-
Resolution: Duplicate
-
Priority:
P4
-
None
-
Affects Version/s: 7
-
Component/s: core-svc
-
None
-
generic
-
generic
If an MBean that implements NotificationEmitter is wrapped in StandardMBean, then
MBeanServer.isInstanceOf(name,"javax.management.NotificationEmitter") yields true,
but
MBeanServer.addNotificationListener(name,...) fails with the following exception
MBean <name> does not implement javax.management.NotificationEmitter
javax.management.RuntimeOperationsException: MBean <name> does not implement javax.management.NotificationEmitter
MBeanServer.isInstanceOf(name,"javax.management.NotificationEmitter") yields true,
but
MBeanServer.addNotificationListener(name,...) fails with the following exception
MBean <name> does not implement javax.management.NotificationEmitter
javax.management.RuntimeOperationsException: MBean <name> does not implement javax.management.NotificationEmitter
- duplicates
-
JDK-6624232 Add GetResource interface to control MBeanServer.getClassLoaderFor and .isInstanceOf
-
- Closed
-