< prev index next >

src/java.base/share/classes/jdk/internal/loader/Loader.java

Print this page
8200125: Fix some classloader/module typos
Reviewed-by: alanb

*** 88,98 **** static { ClassLoader.registerAsParallelCapable(); } ! // the loader pool is in a pool, can be null private final LoaderPool pool; // parent ClassLoader, can be null private final ClassLoader parent; --- 88,98 ---- static { ClassLoader.registerAsParallelCapable(); } ! // the pool this loader is a member of; can be null private final LoaderPool pool; // parent ClassLoader, can be null private final ClassLoader parent;
*** 485,495 **** throw new ClassNotFoundException(cn); return c; } /** ! * Finds the class with the specified binary name in a given module. * This method returns {@code null} if the class cannot be found. */ @Override protected Class<?> findClass(String mn, String cn) { Class<?> c = null; --- 485,495 ---- throw new ClassNotFoundException(cn); return c; } /** ! * Finds the class with the specified binary name in the given module. * This method returns {@code null} if the class cannot be found. */ @Override protected Class<?> findClass(String mn, String cn) { Class<?> c = null;
< prev index next >