mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-13 20:12:14 +00:00
Clean up usages of ClassLoaderReflectionToolkit (#5895)
This commit is contained in:
1 parent
63c183d05e
commit
1290af7ce1
3 files changed
+46
-12
No files matched your search
@@ -641,9 +641,7 @@ public class ClassicPluginStrategy implements PluginStrategy {
|
||||
if (PluginManager.FAST_LOOKUP) {
|
||||
for (PluginWrapper pw : getTransitiveDependencies()) {
|
||||
try {
|
||||
Class<?> c = ClassLoaderReflectionToolkit._findLoadedClass(pw.classLoader, name);
|
||||
if (c!=null) return c;
|
||||
return ClassLoaderReflectionToolkit._findClass(pw.classLoader, name);
|
||||
return ClassLoaderReflectionToolkit.loadClass(pw.classLoader, name);
|
||||
} catch (ClassNotFoundException ignored) {
|
||||
//not found. try next
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user