changeset 13035:27b066eebe1f

7145239: Finetune package definition restriction Reviewed-by: hawtin
author mullan
date Wed, 22 Feb 2012 15:38:24 -0500
parents d7f004398a91
children 0fd2665c9314
files jdk/src/share/lib/security/java.security jdk/src/share/lib/security/java.security-solaris jdk/src/share/lib/security/java.security-windows
diffstat 3 files changed, 9 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- 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