Merge
authorkbarrett
Mon, 18 Apr 2016 22:40:47 +0200
changeset 37511 2cd9b35e0eda
parent 37509 bdb5e37b92f9 (diff)
parent 37510 cf066fe4531b (current diff)
child 37512 9bd963ed64fc
child 37984 5e9b81de0fce
child 37985 539c597ee0fa
Merge
--- a/hotspot/test/runtime/modules/AccessCheck/ExportAllUnnamed.java	Mon Apr 18 14:52:31 2016 -0400
+++ b/hotspot/test/runtime/modules/AccessCheck/ExportAllUnnamed.java	Mon Apr 18 22:40:47 2016 +0200
@@ -28,11 +28,12 @@
  * @summary Test if package p2 in module m2 is exported to all unnamed,
  *          then class p1.c1 in an unnamed module can read p2.c2 in module m2.
  * @library /testlibrary /test/lib
+ * @modules java.base/jdk.internal.module
  * @compile myloaders/MySameClassLoader.java
  * @compile p2/c2.java
  * @compile p1/c1.java
- * @compile -XaddExports:java.base/jdk.internal.module=ALL-UNNAMED ExportAllUnnamed.java
- * @run main/othervm -XaddExports:java.base/jdk.internal.module=ALL-UNNAMED -Xbootclasspath/a:. ExportAllUnnamed
+ * @build ExportAllUnnamed
+ * @run main/othervm -Xbootclasspath/a:. ExportAllUnnamed
  */
 
 import static jdk.test.lib.Asserts.*;