< prev index next >
test/runtime/modules/AccessCheck/UmodDiffCL_PkgNotExp.java
Print this page
@@ -27,14 +27,13 @@
* @test
* @summary class p1.c1 defined in unnamed module tries to access p2.c2 defined in m2.
* Access is denied since even though unnamed module can read all modules, p2
* in module m2 is not exported at all.
* @modules java.base/jdk.internal.misc
- * @library /testlibrary /test/lib
+ * @library /test/lib
* @compile myloaders/MyDiffClassLoader.java
* @compile p1/c1.java
- * @build UmodDiffCL_PkgNotExp
* @run main/othervm -Xbootclasspath/a:. UmodDiffCL_PkgNotExp
*/
import static jdk.test.lib.Asserts.*;
< prev index next >