< prev index next >

test/runtime/modules/AccessCheck/UmodDiffCL_ExpUnqual.java

Print this page

        

*** 27,41 **** * @test * @summary class p1.c1 defined in an unnamed module tries to access p2.c2 defined in m2. * Access allowed, an unnamed module can read all modules and p2 in module m2 * which is exported unqualifiedly. * @modules java.base/jdk.internal.misc ! * @library /testlibrary /test/lib * @compile myloaders/MyDiffClassLoader.java * @compile p2/c2.java * @compile p1/c1.java - * @build UmodDiffCL_ExpUnqual * @run main/othervm -Xbootclasspath/a:. UmodDiffCL_ExpUnqual */ import static jdk.test.lib.Asserts.*; --- 27,40 ---- * @test * @summary class p1.c1 defined in an unnamed module tries to access p2.c2 defined in m2. * Access allowed, an unnamed module can read all modules and p2 in module m2 * which is exported unqualifiedly. * @modules java.base/jdk.internal.misc ! * @library /test/lib * @compile myloaders/MyDiffClassLoader.java * @compile p2/c2.java * @compile p1/c1.java * @run main/othervm -Xbootclasspath/a:. UmodDiffCL_ExpUnqual */ import static jdk.test.lib.Asserts.*;
< prev index next >