jdk/src/share/classes/java/lang/ClassLoader.java
changeset 7029 1f8f7240a1e2
parent 6890 43cb79a6b123
child 7803 56bc97d69d93
--- a/jdk/src/share/classes/java/lang/ClassLoader.java	Mon Oct 25 10:34:26 2010 -0700
+++ b/jdk/src/share/classes/java/lang/ClassLoader.java	Tue Oct 26 18:41:02 2010 -0400
@@ -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)
      *