[jboss-dev-forums] [Design of AOP on JBoss (Aspects/JBoss)] - Translatable ClassLoaders
flavia.rainone@jboss.com
do-not-reply at jboss.com
Fri Jun 27 09:37:07 EDT 2008
Kabir,
Why does AspectManager enforces the class loader to be Translatable in order to use it for classpool creation (lines 770-778)?
public ClassPool findClassPool(ClassLoader cl)
| {
| if (!(cl instanceof Translatable))
| {
| // findClassPool has problems with boot and system classes.
| return registerClassLoader(SecurityActions.getContextClassLoader());
| }
| return registerClassLoader(cl);
| }
I can't find any reference to this interface (except for the one above), nor any references to the method this interface declares (getResourceLocally). I have searched trunk and the class pool classes in javassist.
This is causing problems for standalone users with multi-classloader environments:
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4160969#4160969
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4161165#4161165
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4161165
More information about the jboss-dev-forums
mailing list