jdk/test/java/lang/SecurityManager/CheckPackageAccess.java
changeset 22308 8c0fcd365efc
parent 19600 fce5c0729a1c
parent 22300 d669110735f4
child 22332 fba4c66089bb
equal deleted inserted replaced
20849:1deb5d315831 22308:8c0fcd365efc
    21  * questions.
    21  * questions.
    22  */
    22  */
    23 
    23 
    24 /*
    24 /*
    25  *  @test
    25  *  @test
    26  *  @bug 6741606 7146431 8000450 8019830
    26  *  @bug 6741606 7146431 8000450 8019830 8022945
    27  *  @summary Make sure all restricted packages listed in the package.access
    27  *  @summary Make sure all restricted packages listed in the package.access
    28  *           property in the java.security file are blocked
    28  *           property in the java.security file are blocked
    29  *  @run main/othervm CheckPackageAccess
    29  *  @run main/othervm CheckPackageAccess
    30  */
    30  */
    31 
    31 
    53         "com.sun.xml.internal.",
    53         "com.sun.xml.internal.",
    54         "com.sun.imageio.",
    54         "com.sun.imageio.",
    55         "com.sun.istack.internal.",
    55         "com.sun.istack.internal.",
    56         "com.sun.jmx.",
    56         "com.sun.jmx.",
    57         "com.sun.media.sound.",
    57         "com.sun.media.sound.",
       
    58         "com.sun.naming.internal.",
    58         "com.sun.proxy.",
    59         "com.sun.proxy.",
    59         "com.sun.org.apache.bcel.internal.",
    60         "com.sun.org.apache.bcel.internal.",
    60         "com.sun.org.apache.regexp.internal.",
    61         "com.sun.org.apache.regexp.internal.",
    61         "com.sun.org.apache.xerces.internal.",
    62         "com.sun.org.apache.xerces.internal.",
    62         "com.sun.org.apache.xpath.internal.",
    63         "com.sun.org.apache.xpath.internal.",