Merge pull request #3640 from oleg-nenashev/build/jdk11-underscore-vars

JDK-11 support: refactor code to avoid underscore variable names
This commit is contained in:
Oleg Nenashev authored and GitHub committed 2018-09-27 18:08:51 +02:00
commit 150de1df6e
21 files changed
+47 -46

No files matched your search

@@ -779,19 +779,20 @@ public class ClassicPluginStrategy implements PluginStrategy {
Class<?> c = ClassLoaderReflectionToolkit._findLoadedClass(pw.classLoader, name);
if (c!=null) return c;
return ClassLoaderReflectionToolkit._findClass(pw.classLoader, name);
} catch (ClassNotFoundException e) {
} catch (ClassNotFoundException ignored) {
//not found. try next
}
}
} else {
for (Dependency dep : dependencies) {
PluginWrapper p = pluginManager.getPlugin(dep.shortName);
if(p!=null)
if(p!=null) {
try {
return p.classLoader.loadClass(name);
} catch (ClassNotFoundException _) {
// try next
} catch (ClassNotFoundException ignored) {
// OK, try next
}
}
}
}