8191173: (cl) Clarify or remove "for delegation" in ClassLoader spec
authorbchristi
Tue, 28 Nov 2017 10:15:47 -0800
changeset 47951 a1f88c937a77
parent 47950 9d23fbc3f30c
child 47952 469e42d314a4
8191173: (cl) Clarify or remove "for delegation" in ClassLoader spec Reviewed-by: alanb, dholmes, martin, mchung
src/java.base/share/classes/java/lang/ClassLoader.java
--- a/src/java.base/share/classes/java/lang/ClassLoader.java	Tue Nov 28 15:55:50 2017 +0100
+++ b/src/java.base/share/classes/java/lang/ClassLoader.java	Tue Nov 28 10:15:47 2017 -0800
@@ -1813,7 +1813,7 @@
     }
 
     /**
-     * Returns the platform class loader for delegation.  All
+     * Returns the platform class loader.  All
      * <a href="#builtinLoaders">platform classes</a> are visible to
      * the platform class loader.
      *
@@ -1843,7 +1843,7 @@
     }
 
     /**
-     * Returns the system class loader for delegation.  This is the default
+     * Returns the system class loader.  This is the default
      * delegation parent for new {@code ClassLoader} instances, and is
      * typically the class loader used to start the application.
      *
@@ -1884,7 +1884,7 @@
      * the application module path then the class path defaults to
      * the current working directory.
      *
-     * @return  The system {@code ClassLoader} for delegation
+     * @return  The system {@code ClassLoader}
      *
      * @throws  SecurityException
      *          If a security manager is present, and the caller's class loader