[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: ClassLoader behaviour on remote clustering tests

adrian@jboss.org do-not-reply at jboss.com
Wed Apr 9 10:29:03 EDT 2008


"clebert.suconic at jboss.com" wrote : 
  | Can you check if you are aways using the correct classloader? This might turn a bug on ClassLoaderJMXWrapper only. We just need to double check.

If instead of re-inventing the wheel, you used the DelegatingClassLoader from
JBoss Common Core, you'd already have the correct fix.

http://viewvc.jboss.org/cgi-bin/viewvc.cgi/common/common-core/trunk/src/main/java/org/jboss/util/loading/DelegatingClassLoader.java?revision=2787&view=markup

The super.loadClass() works because it invokes findLoadedClass().


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4142764#4142764

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4142764



More information about the jboss-dev-forums mailing list