diff --git a/src/share/classes/java/lang/ClassLoader.java b/src/share/classes/java/lang/ClassLoader.java index 7aa5087ad2f2ff50968235c91197b5cef43513eb..875f5ec8e9718cae6b60208443831e3c9bb6d520 100644 --- a/src/share/classes/java/lang/ClassLoader.java +++ b/src/share/classes/java/lang/ClassLoader.java @@ -362,7 +362,7 @@ public abstract class ClassLoader { * default implementation of this method searches for classes in the * following order: * - *
Invoke {@link #findLoadedClass(String)} to check if the class * has already been loaded.
check
method typically looks like this:
- * + ** SecurityManager security = System.getSecurityManager(); * if (security != null) { * security.checkXXX(argument, . . . ); @@ -323,7 +323,7 @@ class SecurityManager { * by {@link ClassLoader#getSystemClassLoader}) or one of its ancestors. ** This method will return - *
null
in the following three cases:+ *
null
in the following three cases: **
- All methods on the execution stack are from classes * defined using the system class loader or one of its ancestors. @@ -370,7 +370,7 @@ class SecurityManager { * by {@link ClassLoader#getSystemClassLoader}) or one of its ancestors. *
* This method will return - *
null
in the following three cases:+ *
null
in the following three cases: **
- All methods on the execution stack are from classes * defined using the system class loader or one of its ancestors. @@ -429,7 +429,7 @@ class SecurityManager { * by {@link ClassLoader#getSystemClassLoader}) or one of its ancestors. *
* This method will return - * -1 in the following three cases:
+ * -1 in the following three cases: *
*
- All methods on the execution stack are from classes * defined using the system class loader or one of its ancestors. @@ -1281,7 +1281,6 @@ class SecurityManager { * This method calls
checkPermission
with the *PropertyPermission(key, "read")
permission. *- *
* If you override this method, then you should make a call to *
super.checkPropertyAccess
* at the point the overridden method would normally throw an @@ -1714,7 +1713,7 @@ class SecurityManager { throw new NullPointerException("class can't be null"); } if (which != Member.PUBLIC) { - Class stack[] = getClassContext(); + Class> stack[] = getClassContext(); /* * stack depth of 4 should be the caller of one of the * methods in java.lang.Class that invoke checkMember