8022945: Enhance JNDI implementation classes
Reviewed-by: xuelei, ahgross, skoivu
This commit is contained in:
parent
c130ed3660
commit
d42579b647
@ -181,6 +181,7 @@ package.access=sun.,\
|
||||
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.,\
|
||||
@ -225,6 +226,7 @@ package.definition=sun.,\
|
||||
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.,\
|
||||
|
@ -182,6 +182,7 @@ package.access=sun.,\
|
||||
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.,\
|
||||
@ -226,6 +227,7 @@ package.definition=sun.,\
|
||||
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.,\
|
||||
|
@ -183,6 +183,7 @@ package.access=sun.,\
|
||||
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.,\
|
||||
@ -226,6 +227,7 @@ package.definition=sun.,\
|
||||
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.,\
|
||||
|
@ -182,6 +182,7 @@ package.access=sun.,\
|
||||
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.,\
|
||||
@ -226,6 +227,7 @@ package.definition=sun.,\
|
||||
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.,\
|
||||
|
@ -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 @@ public class CheckPackageAccess {
|
||||
"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.",
|
||||
|
Loading…
Reference in New Issue
Block a user