Turns out this is actually a Javassist "feature". This fixed my problem:
import javassist.ClassPool;
import javassist.LoaderClassPath;
ClassPool cp = ClassPool.getDefault();
cp.insertClassPath(new LoaderClassPath(getClassLoader()));
Where getClassLoader() returns an instance of your own custom ClassLoader as described in
my example.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994822#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...