I'd just change all the uses of the classloader.loadClass() to be Class.forName()
Actually resolve=false is the equalivent of ClassLoader.loadClass()
e.g.
| private TypeInfo resolveComplexTypeInfo(ClassLoader cl, String name)
| throws ClassNotFoundException
| {
| if (cl == null)
| cl = Thread.currentThread().getContextClassLoader();
|
| - Class clazz = cl.loadClass(name);
| + Class<?> clazz = Class.forName(name, false, cl);
| return getTypeInfo(clazz);
| }
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4119087#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...