mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
8215048: Some classloader typos
Reviewed-by: alanb
This commit is contained in:
parent
9846588b31
commit
100d5f79a6
2 changed files with 2 additions and 2 deletions
|
@ -2430,7 +2430,7 @@ public abstract class ClassLoader {
|
||||||
if (!load0(name, isBuiltin)) return false;
|
if (!load0(name, isBuiltin)) return false;
|
||||||
|
|
||||||
// register the class loader for cleanup when unloaded
|
// register the class loader for cleanup when unloaded
|
||||||
// built class loaders are never unloaded
|
// builtin class loaders are never unloaded
|
||||||
ClassLoader loader = fromClass.getClassLoader();
|
ClassLoader loader = fromClass.getClassLoader();
|
||||||
if (loader != null &&
|
if (loader != null &&
|
||||||
loader != getBuiltinPlatformClassLoader() &&
|
loader != getBuiltinPlatformClassLoader() &&
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue