mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-16 05:22:22 +00:00
load remote classes from system classloader
This commit is contained in:
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),
|
||||
|
||||
Reference in new issue
Block a user