-
Bug
-
Resolution: Fixed
-
P3
-
6
-
b43
-
generic
-
generic
-
Verified
If you call createMBean with a loaderName parameter that is null, it means to use the MBeanServer's own ClassLoader. But if this ClassLoader fails to find the named MBean class, the exception thrown is an MBeanException whose cause is a ReflectException with the message "The MBean class could not be loaded by the context classloader". The ClassLoader that has been used is *not* the context ClassLoader, it is the ClassLoader that loaded the MBeanServer (usually the bootstrap loader).