equal
deleted
inserted
replaced
26 /* |
26 /* |
27 * @test |
27 * @test |
28 * @summary Test that if package p2 in module m2 is exported to module m3, |
28 * @summary Test that if package p2 in module m2 is exported to module m3, |
29 * then class p1.c1 in an unnamed module can not read p2.c2 in module m2. |
29 * then class p1.c1 in an unnamed module can not read p2.c2 in module m2. |
30 * @modules java.base/jdk.internal.misc |
30 * @modules java.base/jdk.internal.misc |
31 * @library /testlibrary /test/lib |
31 * @library /test/lib |
32 * @compile myloaders/MySameClassLoader.java |
32 * @compile myloaders/MySameClassLoader.java |
33 * @compile p2/c2.java |
33 * @compile p2/c2.java |
34 * @compile p1/c1.java |
34 * @compile p1/c1.java |
35 * @build Umod_ExpQualOther |
|
36 * @run main/othervm -Xbootclasspath/a:. Umod_ExpQualOther |
35 * @run main/othervm -Xbootclasspath/a:. Umod_ExpQualOther |
37 */ |
36 */ |
38 |
37 |
39 import static jdk.test.lib.Asserts.*; |
38 import static jdk.test.lib.Asserts.*; |
40 |
39 |