[jboss-user] [JBoss Microcontainer Development] New message: "Re: Modules with null ClassLoaders"

Kabir Khan do-not-reply at jboss.com
Fri Feb 5 08:25:07 EST 2010


User development,

A new message was posted in the thread "Modules with null ClassLoaders":

http://community.jboss.org/message/524382#524382

Author  : Kabir Khan
Profile : http://community.jboss.org/people/kabir.khan@jboss.com

Message:
--------------------------------------------------------------
> mailto:flavia.rainone at jboss.com wrote:
>  
> > mailto:flavia.rainone at jboss.com wrote:
> >  I'll try skipping the registration of such modules to see if any test breaks. Does anybody has a better idea on how to fix this?
> That didn't break of the tests. Thinking again, it makes a lot of sense to skip the registration of such modules. Given that the newly created class pool will be mapped to a null class loader, it is useless. We are just generating overhead that way.
> Now I wonder which scenarios registerBootstrapLoaders is really needed for.
That was probably just me fumbling in the dark :-) If some of them are not null, the purpose is probably to register those. Or are all of them null? I'm not familiar enough with the classloading/Module stuff to really know why the modules would have null classloaders

--------------------------------------------------------------

To reply to this message visit the message page: http://community.jboss.org/message/524382#524382




More information about the jboss-user mailing list