зеркало из https://github.com/mozilla/gecko-dev.git
Some users with JDK 1.1 but JDK 1.2 security were getting NullPointerExceptions here.
This commit is contained in:
Родитель
b5a79f600f
Коммит
dfb69c7a8d
|
@ -2118,6 +2118,7 @@ public class ScriptRuntime {
|
|||
getContextClassLoaderMethod.invoke(
|
||||
Thread.currentThread(),
|
||||
new Object[0]);
|
||||
if (cl != null)
|
||||
return cl.loadClass(className);
|
||||
}
|
||||
} catch (SecurityException e) {
|
||||
|
|
|
@ -2118,6 +2118,7 @@ public class ScriptRuntime {
|
|||
getContextClassLoaderMethod.invoke(
|
||||
Thread.currentThread(),
|
||||
new Object[0]);
|
||||
if (cl != null)
|
||||
return cl.loadClass(className);
|
||||
}
|
||||
} catch (SecurityException e) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче