diff -r 8ca785029fe2 -r 793a36de151d jdk/src/share/classes/java/net/URLClassLoader.java --- a/jdk/src/share/classes/java/net/URLClassLoader.java Mon Jan 21 23:17:58 2013 -0500 +++ b/jdk/src/share/classes/java/net/URLClassLoader.java Mon Jan 21 23:20:42 2013 -0500 @@ -57,6 +57,12 @@ *
* The classes that are loaded are by default granted permission only to * access the URLs specified when the URLClassLoader was created. + *
+ * Where a JAR file contains the {@link Name#PROFILE Profile} attribute + * then its value is the name of the Java SE profile that the library + * minimally requires. If this runtime does not support the profile then + * it causes {@link java.util.jar.UnsupportedProfileException} to be + * thrown at some unspecified time. * * @author David Connelly * @since 1.2