changeset 6836:4b7df9a8efc3

8022945: Enhance JNDI implementation classes Reviewed-by: xuelei, ahgross, skoivu
author weijun
date Mon, 19 Aug 2013 22:43:32 +0800
parents c0ff56eaaa96
children f43bc2c60d21
files src/share/lib/security/java.security-linux src/share/lib/security/java.security-macosx src/share/lib/security/java.security-solaris src/share/lib/security/java.security-windows test/java/lang/SecurityManager/CheckPackageAccess.java
diffstat 5 files changed, 10 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/lib/security/java.security-linux	Fri Aug 09 13:50:13 2013 +0100
+++ b/src/share/lib/security/java.security-linux	Mon Aug 19 22:43:32 2013 +0800
@@ -128,6 +128,7 @@
                com.sun.imageio.,\
                com.sun.istack.internal.,\
                com.sun.jmx.,\
+               com.sun.naming.internal.,\
                com.sun.proxy.,\
                com.sun.script.,\
                com.sun.org.apache.bcel.internal.,\
@@ -166,6 +167,7 @@
                    com.sun.imageio.,\
                    com.sun.istack.internal.,\
                    com.sun.jmx.,\
+                   com.sun.naming.internal.,\
                    com.sun.proxy.,\
                    com.sun.script.,\
                    com.sun.org.apache.bcel.internal.,\
--- a/src/share/lib/security/java.security-macosx	Fri Aug 09 13:50:13 2013 +0100
+++ b/src/share/lib/security/java.security-macosx	Mon Aug 19 22:43:32 2013 +0800
@@ -129,6 +129,7 @@
                com.sun.imageio.,\
                com.sun.istack.internal.,\
                com.sun.jmx.,\
+               com.sun.naming.internal.,\
                com.sun.proxy.,\
                com.sun.script.,\
                com.sun.org.apache.bcel.internal.,\
@@ -169,6 +170,7 @@
                    com.sun.imageio.,\
                    com.sun.istack.internal.,\
                    com.sun.jmx.,\
+                   com.sun.naming.internal.,\
                    com.sun.proxy.,\
                    com.sun.script.,\
                    com.sun.org.apache.bcel.internal.,\
--- a/src/share/lib/security/java.security-solaris	Fri Aug 09 13:50:13 2013 +0100
+++ b/src/share/lib/security/java.security-solaris	Mon Aug 19 22:43:32 2013 +0800
@@ -130,6 +130,7 @@
                com.sun.imageio.,\
                com.sun.istack.internal.,\
                com.sun.jmx.,\
+               com.sun.naming.internal.,\
                com.sun.proxy.,\
                com.sun.script.,\
                com.sun.org.apache.bcel.internal.,\
@@ -169,6 +170,7 @@
                    com.sun.imageio.,\
                    com.sun.istack.internal.,\
                    com.sun.jmx.,\
+                   com.sun.naming.internal.,\
                    com.sun.proxy.,\
                    com.sun.script.,\
                    com.sun.org.apache.bcel.internal.,\
--- a/src/share/lib/security/java.security-windows	Fri Aug 09 13:50:13 2013 +0100
+++ b/src/share/lib/security/java.security-windows	Mon Aug 19 22:43:32 2013 +0800
@@ -129,6 +129,7 @@
                com.sun.imageio.,\
                com.sun.istack.internal.,\
                com.sun.jmx.,\
+               com.sun.naming.internal.,\
                com.sun.proxy.,\
                com.sun.script.,\
                com.sun.org.apache.bcel.internal.,\
@@ -169,6 +170,7 @@
                    com.sun.imageio.,\
                    com.sun.istack.internal.,\
                    com.sun.jmx.,\
+                   com.sun.naming.internal.,\
                    com.sun.proxy.,\
                    com.sun.script.,\
                    com.sun.org.apache.bcel.internal.,\
--- a/test/java/lang/SecurityManager/CheckPackageAccess.java	Fri Aug 09 13:50:13 2013 +0100
+++ b/test/java/lang/SecurityManager/CheckPackageAccess.java	Mon Aug 19 22:43:32 2013 +0800
@@ -23,7 +23,7 @@
 
 /*
  *  @test
- *  @bug 6741606 7146431 8000450
+ *  @bug 6741606 7146431 8000450 8022945
  *  @summary Make sure all restricted packages listed in the package.access
  *           property in the java.security file are blocked
  *  @run main/othervm CheckPackageAccess
@@ -54,6 +54,7 @@
         "com.sun.imageio.",
         "com.sun.istack.internal.",
         "com.sun.jmx.",
+        "com.sun.naming.internal.",
         "com.sun.proxy.",
         "com.sun.org.apache.bcel.internal.",
         "com.sun.org.apache.regexp.internal.",