-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P3
-
Affects Version/s: 5.0
-
Component/s: core-svc
-
b54
-
generic
-
generic
When the getAttribute, setAttribute, or invoke of a Dynamic MBean throws a RuntimeException, this is wrapped by the MBean Server in a RuntimeOperationsException. But for Standard MBeans, it is wrapped in a RuntimeMBeanException. This inconsistency is clearly wrong. Although the spec is somewhat unclear in this area, it certainly seems that wrapping in RuntimeMBeanException is the correct behaviour.
- relates to
-
JDK-5043152 JMX spec could clarify how MBean RuntimeExceptions are handled
-
- Resolved
-
-
JDK-5058319 RuntimeException in RuntimeMBeanException
-
- Resolved
-