I've uploaded a 2.0.2-SNAPSHOT of jboss-cl for you to try.
This has a Module.getModuleForClass() which at least for our classloader implementation
doesn't load the class.
See BaseClassLoader.findClassLoaderForClass() for how it works
without exposing nasty things. ;-)
You'll need to put its use in a privileged block since I require the
new RuntimePermission("getClassLoader") with a security manager installed.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4201405#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...