JDK-5058319 : RuntimeException in RuntimeMBeanException
  • Type: Bug
  • Component: core-svc
  • Sub-Component: java.lang.management
  • Affected Version: 5.0
  • Priority: P2
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2004-06-07
  • Updated: 2004-09-23
  • Resolved: 2004-09-23
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
5.0 b56Fixed
Related Reports
Relates :  
Description
Name: vrR10176			Date: 06/07/2004



After the fix of the bug 5035217 an instance of StandardMBean's 
RuntimeException (thrown when the getAttribute, setAttribute, 
or invoke methods of MBeanServer are executed) is wrapped in a 
RuntimeMBeanException which is itself wrapped one more time in a 
RuntimeMBeanException. But the CCC request 5035217 proposed a 
solution:

"The proposed change is for all three types of MBean (Standard 
MBeans, Dynamic MBeans, and instances of StandardMBean) to have 
the same behaviour: a RuntimeException is wrapped in a 
RuntimeMBeanException.  This is the behaviour that was already 
present for Standard MBeans. It represents a change for the other 
two types."

So the fix of the bug 5035217 is incomplete. An StandardMBean's 
RuntimeException should be wrapped in a RuntimeMBeanException only
one time.

This bug causes failures of about 50 JCK1.5-fcs testcases and
should be fixed asap.

======================================================================

Comments
CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: tiger-rc FIXED IN: tiger-rc INTEGRATED IN: tiger-b56 tiger-rc VERIFIED IN: 1.5.0_01
24-09-2004

EVALUATION Name: mc120937 Date: 06/07/2004 This bug surfaces when the JMX bug 5035217 is fixed in B54. The implementation of MXBean does not need to wrap RuntimeException and Error thrown by the MXBean methods. The JMX implementation will wrap RuntimeException and Error appropriately. The java.lang.management implementation should be fixed not to wrap these exceptions. ======================================================================
24-09-2004