mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-13 20:12:14 +00:00
Align resource loading logic in AntClassLoader with upstream (#5656)
This commit is contained in:
1 parent
8e768057d7
commit
95d9b55e6f
5 files changed
+65
-93
No files matched your search
@@ -36,7 +36,6 @@ import jenkins.ClassLoaderReflectionToolkit;
|
||||
import jenkins.ExtensionFilter;
|
||||
import jenkins.plugins.DetachedPluginsUtil;
|
||||
import jenkins.util.AntClassLoader;
|
||||
import jenkins.util.AntWithFindResourceClassLoader;
|
||||
import jenkins.util.SystemProperties;
|
||||
import org.apache.commons.io.output.NullOutputStream;
|
||||
import org.apache.tools.ant.BuildException;
|
||||
@@ -302,7 +301,7 @@ public class ClassicPluginStrategy implements PluginStrategy {
|
||||
}
|
||||
}
|
||||
|
||||
AntWithFindResourceClassLoader classLoader = new AntWithFindResourceClassLoader(parent, true);
|
||||
AntClassLoader classLoader = new AntClassLoader(parent, true);
|
||||
classLoader.addPathFiles(paths);
|
||||
return classLoader;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user