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#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...