-
Bug
-
Resolution: Won't Fix
-
P3
-
7
-
generic
-
generic
If an MBean implements MBeanRegistration and throws a RuntimeException from its preRegister method, then reading the spec would lead one to expect that the RuntimeException will be wrapped in an MBeanRegistrationException. In fact that is not the case - it is wrapped in a RuntimeMBeanException. Errors are also wrapped in RuntimeErrorException. We can't change this behaviour for fear of breaking existing code, but we should specify it.
- relates to
-
JDK-6730926 Document that create/registerMBean can throw RuntimeMBeanException from postRegister
- Closed