[jboss-dev] JMX stuff WAS Re: M2 planning and timeline
Ales Justin
ales.justin at gmail.com
Fri Jan 15 11:19:33 EST 2010
> I've fixed the classloader problem.
Hard work I see, moving one code line 3 lines up. :-)
-------------------------------------------------
Modified:
projects/jbossmx/trunk/mbeanserver/src/main/org/jboss/jmx/mbeanserver/JBossMBeanServer.java
===================================================================
---
projects/jbossmx/trunk/mbeanserver/src/main/org/jboss/jmx/mbeanserver/JBossMBeanServer.java
2010-01-15 14:02:43 UTC (rev 99475)
+++
projects/jbossmx/trunk/mbeanserver/src/main/org/jboss/jmx/mbeanserver/JBossMBeanServer.java
2010-01-15 14:05:27 UTC (rev 99476)
@@ -334,10 +334,10 @@
NotCompliantMBeanException,
InstanceNotFoundException
{
- RegistryEntry previous = checkCurrent(name, null);
+ ClassLoader cl = getOuter().getClassLoader(loaderName);
+ RegistryEntry previous = checkCurrent(name, cl);
try
{
- ClassLoader cl = getOuter().getClassLoader(loaderName);
ClassLoader previousCl = null;
ps: nice catch
More information about the jboss-development
mailing list