< 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,11 +88,11 @@
 
     static {
         ClassLoader.registerAsParallelCapable();
     }
 
-    // the loader pool is in a pool, can be null
+    // 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,11 +485,11 @@
             throw new ClassNotFoundException(cn);
         return c;
     }
 
     /**
-     * Finds the class with the specified binary name in a given module.
+     * 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 >