JDK-6436319 : javax.management.StandardMBean should be able to return the ClassLoader of the wrapped resource.
  • Type: Enhancement
  • Component: core-svc
  • Sub-Component: javax.management
  • Affected Version: 7
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 2006-06-08
  • Updated: 2010-07-29
  • Resolved: 2008-01-24
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.
JDK 7
7Resolved
Related Reports
Duplicate :  
Relates :  
Description
The ClassLoader used to deserialized parameters to requests addressed to a StandardMBean 
such as StandardMBean st = new StandardMBean(Foo.class,new FooImpl()); is that of
javax.management.StandardMBean. It should be that of Foo.

Comments
EVALUATION Fixing this would probably require an API change in JMX.
08-06-2006

WORK AROUND Use instead: StandardMBean st = new StandardMBean(Foo.class, new FooImpl()) { };
08-06-2006