changeset 3000:4f91da528c68

Merge
author asaha
date Wed, 27 Oct 2010 22:10:37 -0700
parents 72e09416a65d 613f1b310cdb
children dfce5a0cc460
files
diffstat 1 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/classes/java/lang/ClassLoader.java	Wed Oct 27 13:53:15 2010 -0700
+++ b/src/share/classes/java/lang/ClassLoader.java	Wed Oct 27 22:10:37 2010 -0700
@@ -553,6 +553,13 @@
      *          If either <tt>off</tt> or <tt>len</tt> is negative, or if
      *          <tt>off+len</tt> is greater than <tt>b.length</tt>.
      *
+     * @throws  SecurityException
+     *          If an attempt is made to add this class to a package that
+     *          contains classes that were signed by a different set of
+     *          certificates than this class, or if an attempt is made
+     *          to define a class in a package with a fully-qualified name
+     *          that starts with "{@code java.}".
+     *
      * @see  #loadClass(String, boolean)
      * @see  #resolveClass(Class)
      *