equal
deleted
inserted
replaced
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 |