load remote classes from system classloader

This commit is contained in:
Tom Huybrechts committed 2010-01-29 12:31:37 +01:00
1 parent 23891487d2
commit adf2d268f0
1 file changed
+2 -1
@@ -385,7 +385,8 @@ final class RemoteClassLoader extends URLClassLoader {
public ClassFile fetch2(String className) throws ClassNotFoundException {
ClassLoader ecl = cl.loadClass(className).getClassLoader();
if (ecl == null) ecl = ClassLoader.getSystemClassLoader();
try {
return new ClassFile(
exportId(ecl,channel),