Handle SecurityErrors on bad auxclasspath entries
This commit is contained in:
@ -105,7 +105,7 @@ public class ClasspathClassLoader extends URLClassLoader {
|
||||
try {
|
||||
// checking local
|
||||
c = findClass(name);
|
||||
} catch (final ClassNotFoundException e) {
|
||||
} catch (final ClassNotFoundException | SecurityException e) {
|
||||
// checking parent
|
||||
// This call to loadClass may eventually call findClass again, in case the parent doesn't find anything.
|
||||
c = super.loadClass(name, resolve);
|
||||
|
Reference in New Issue
Block a user