[jboss-dev-forums] [Design of AOP on JBoss (Aspects/JBoss)] - Re: Classloading problems with ClassProxyFactory

kabir.khan@jboss.com do-not-reply at jboss.com
Wed Apr 30 13:38:13 EDT 2008


I now have a simple test working that reliably fails, so I can start looking at the fix. 

Locally I am getting ok results with the 
ClassLoader.getSystemClassLoader().getParent() stuff, although I have not tried calling defineClass() yet on that. Javassist always calls ClassLoader.defineClass() for new classes, no matter  what the CL is, and it has worked fine so far. I'll take a look.

Can you please elaborate a bit on the custom Proxy CL stuff? I see it a a subclass of java.lang.ClassLoader that delegates to the parent classloader, but I am not sure how it would get cleaned up?

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

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



More information about the jboss-dev-forums mailing list