hotspot/test/runtime/modules/AccessCheck/DiffCL_CheckRead.java
changeset 38152 80e5da81fb2c
parent 36508 5f9eee6b383b
child 38306 db8cc86cbae9
equal deleted inserted replaced
38151:fffedc5e5cf8 38152:80e5da81fb2c
    25 
    25 
    26 /*
    26 /*
    27  * @test
    27  * @test
    28  * @summary Test that if module m1 can not read module m2, then class p1.c1
    28  * @summary Test that if module m1 can not read module m2, then class p1.c1
    29  *          in module m1 can not access p2.c2 in module m2.
    29  *          in module m1 can not access p2.c2 in module m2.
       
    30  * @modules java.base/jdk.internal.misc
    30  * @library /testlibrary /test/lib
    31  * @library /testlibrary /test/lib
    31  * @compile myloaders/MyDiffClassLoader.java
    32  * @compile myloaders/MyDiffClassLoader.java
    32  * @compile p2/c2.java
    33  * @compile p2/c2.java
    33  * @compile p1/c1.java
    34  * @compile p1/c1.java
    34  * @build DiffCL_CheckRead
    35  * @build DiffCL_CheckRead