hotspot/test/runtime/modules/AccessCheck/UmodDiffCL_ExpUnqual.java
changeset 40631 ed82623d7831
parent 38306 db8cc86cbae9
child 42307 cefc81dc1d52
equal deleted inserted replaced
40629:514bf0744294 40631:ed82623d7831
    27  * @test
    27  * @test
    28  * @summary class p1.c1 defined in an unnamed module tries to access p2.c2 defined in m2.
    28  * @summary class p1.c1 defined in an unnamed module tries to access p2.c2 defined in m2.
    29  *          Access allowed, an unnamed module can read all modules and p2 in module m2
    29  *          Access allowed, an unnamed module can read all modules and p2 in module m2
    30  *          which is exported unqualifiedly.
    30  *          which is exported unqualifiedly.
    31  * @modules java.base/jdk.internal.misc
    31  * @modules java.base/jdk.internal.misc
    32  * @library /testlibrary /test/lib
    32  * @library /test/lib
    33  * @compile myloaders/MyDiffClassLoader.java
    33  * @compile myloaders/MyDiffClassLoader.java
    34  * @compile p2/c2.java
    34  * @compile p2/c2.java
    35  * @compile p1/c1.java
    35  * @compile p1/c1.java
    36  * @build UmodDiffCL_ExpUnqual
       
    37  * @run main/othervm -Xbootclasspath/a:. UmodDiffCL_ExpUnqual
    36  * @run main/othervm -Xbootclasspath/a:. UmodDiffCL_ExpUnqual
    38  */
    37  */
    39 
    38 
    40 import static jdk.test.lib.Asserts.*;
    39 import static jdk.test.lib.Asserts.*;
    41 
    40