[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: NoCopyNestedJarHandler usage
scott.stark@jboss.org
do-not-reply at jboss.com
Sat Dec 29 10:11:22 EST 2007
We need tests that validate that the package scanning and resource checking done by the UCL class loader works with these urls. The location of this error indicates that taking the class name and making it a resource name, and calling getResource on the class loader is not working:
| String classRsrcName = classname.replace('.', '/') + ".class";
| URL url = ucl.getResource(classRsrcName);
|
Add a test for this type of usage.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4116033#4116033
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4116033
More information about the jboss-dev-forums
mailing list