Details
-
Bug
-
Resolution: Fixed
-
P3
-
5.0
-
b54
-
generic
-
generic
Description
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.
Attachments
Issue Links
- relates to
-
JDK-5043152 JMX spec could clarify how MBean RuntimeExceptions are handled
- Resolved
-
JDK-5058319 RuntimeException in RuntimeMBeanException
- Resolved