"alesj" wrote : ModuleRegistry gets Module passed in. Perhaps this then:
|
| | ClassLoader cl = ClassLoading.getClassLoaderForModule(module);
| | DeploymentUnit unit =
AbstractDeploymentClassLoaderPolicyModule.class.cast(module).getDeploymentUnit();
| | ClassLoader parentUnitLoader = unit.isTopLevel() ? null :
unit.getParent().getClassLoader();
| |
|
Thanks, that works. I'll do a clean up of the previous fix and check some todos
related to JBREFLECT-65 before committing.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4264336#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...