8215048: Some classloader typos

Reviewed-by: alanb
This commit is contained in:
Martin Buchholz 2018-12-09 10:07:18 -08:00
parent 9846588b31
commit 100d5f79a6
2 changed files with 2 additions and 2 deletions

View file

@ -2430,7 +2430,7 @@ public abstract class ClassLoader {
if (!load0(name, isBuiltin)) return false;
// register the class loader for cleanup when unloaded
// built class loaders are never unloaded
// builtin class loaders are never unloaded
ClassLoader loader = fromClass.getClassLoader();
if (loader != null &&
loader != getBuiltinPlatformClassLoader() &&

View file

@ -805,7 +805,7 @@ public class URLClassPath {
private JarFile getJarFile(URL url) throws IOException {
// Optimize case where url refers to a local jar file
if (isOptimizable(url)) {
FileURLMapper p = new FileURLMapper (url);
FileURLMapper p = new FileURLMapper(url);
if (!p.exists()) {
throw new FileNotFoundException(p.getPath());
}