[jboss-dev-forums] [JBoss Microcontainer Development] - Re: Testing Deployers with new Reflect + ClassPool

flavia.rainone@jboss.com do-not-reply at jboss.com
Wed Dec 9 12:53:23 EST 2009


"alesj" wrote : I wouldn't go with this null, but just with a simple CP exclude -- only for tests purposes.
  | e.g. 
  | Map the AppCL with DefaultCP, but somehow exclude all but java.* and our test packages.
  | Actually make this exclusion configurable, as we have it in CL/Deployers.
  | 
The point with null is to reproduce the fact that String.class.getClassLoader() is null.
The problem is that we won't be able of mapping all the bootstrap just by matching the package names.
If you prefer to have the exclusion for ClassPools, then we will go that way. I'll let you know when this is done so you can finally debug the failure you are seeing.

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4269841#4269841

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



More information about the jboss-dev-forums mailing list