7145239: Finetune package definition restriction
authormullan
Wed, 22 Feb 2012 15:38:24 -0500
changeset 13035 27b066eebe1f
parent 11901 d7f004398a91
child 13036 0fd2665c9314
7145239: Finetune package definition restriction Reviewed-by: hawtin
jdk/src/share/lib/security/java.security
jdk/src/share/lib/security/java.security-solaris
jdk/src/share/lib/security/java.security-windows
--- a/jdk/src/share/lib/security/java.security	Wed Jan 18 15:35:06 2012 +0000
+++ b/jdk/src/share/lib/security/java.security	Wed Feb 22 15:38:24 2012 -0500
@@ -132,10 +132,10 @@
 # corresponding RuntimePermission ("defineClassInPackage."+package) has
 # been granted.
 #
-# by default, no packages are restricted for definition, and none of
-# the class loaders supplied with the JDK call checkPackageDefinition.
+# by default, none of the class loaders supplied with the JDK call
+# checkPackageDefinition.
 #
-#package.definition=
+package.definition=sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.
 
 #
 # Determines whether this properties file can be appended to
--- a/jdk/src/share/lib/security/java.security-solaris	Wed Jan 18 15:35:06 2012 +0000
+++ b/jdk/src/share/lib/security/java.security-solaris	Wed Feb 22 15:38:24 2012 -0500
@@ -133,10 +133,10 @@
 # corresponding RuntimePermission ("defineClassInPackage."+package) has
 # been granted.
 #
-# by default, no packages are restricted for definition, and none of
-# the class loaders supplied with the JDK call checkPackageDefinition.
+# by default, none of the class loaders supplied with the JDK call
+# checkPackageDefinition.
 #
-#package.definition=
+package.definition=sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.
 
 #
 # Determines whether this properties file can be appended to
--- a/jdk/src/share/lib/security/java.security-windows	Wed Jan 18 15:35:06 2012 +0000
+++ b/jdk/src/share/lib/security/java.security-windows	Wed Feb 22 15:38:24 2012 -0500
@@ -133,10 +133,10 @@
 # corresponding RuntimePermission ("defineClassInPackage."+package) has
 # been granted.
 #
-# by default, no packages are restricted for definition, and none of
-# the class loaders supplied with the JDK call checkPackageDefinition.
+# by default, none of the class loaders supplied with the JDK call
+# checkPackageDefinition.
 #
-#package.definition=
+package.definition=sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.
 
 #
 # Determines whether this properties file can be appended to