[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: Reflect BeanInfo cache change breaks Kernel

adrian@jboss.org do-not-reply at jboss.com
Tue Nov 25 08:22:33 EST 2008


"alesj" wrote : "adrian at jboss.org" wrote : 
  |   |       ClassLoader cl1 = new URLClassLoader(urls);
  |   | 
  |   | But BeanInfoCache's CL is always sun.misc.Launcher$AppClassLoader at 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#4192105

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4192105



More information about the jboss-dev-forums mailing list