[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: Reflect BeanInfo cache change breaks Kernel
alesj
do-not-reply at jboss.com
Tue Nov 25 08:17:23 EST 2008
"alesj" wrote : Where am I wrong?
Got it. ;-)
URLCL::parent must be explicitly set to null,
else it uses bootstrap/system CL as parent.
| String className = BeanInfoEmpty.class.getName();
| Class<?> clazz = Class.forName(className);
| URL url1 = clazz.getProtectionDomain().getCodeSource().getLocation();
| URL[] urls = {url1};
| ClassLoader cl1 = new URLClassLoader(urls, null);
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4192101#4192101
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4192101
More information about the jboss-dev-forums
mailing list