changeset 5740:bff59bf994da

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