The other failing classloader test is due to the "mock" VFSClassLoader
getting used to load kernel classes causing a type inconsistency.
This is probably also due to the core kernel classes and the test classes
living in the same codesource with the current eclipse configuration.
I've hacked this classloader so it only loads classes that begin with
"org.jboss.test"
| public Class<?> loadClass(String name, boolean flag)
| throws ClassNotFoundException
| {
|
| + if (name.startsWith("org.jboss.test") == false)
| + return getClass().getClassLoader().loadClass(name);
|
Which resolves this issue.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4034620#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...