"alesj" wrote : "adrian(a)jboss.org" wrote :
| | ClassLoader cl1 = new URLClassLoader(urls);
| |
| | But BeanInfoCache's CL is always sun.misc.Launcher$AppClassLoader@a39137.
| | Although I would expect my URLCL.
| |
| | Where am I wrong? :-)
|
| You need a classloader that overrides loadClass() to not look at the parent.
| The classloader you've constructed will just use the
ClassLoader.getSystemClassLoader()
| as the parent. i.e. the classpath
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4192105#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...