hotspot/test/runtime/Unsafe/NestedUnsafe.java
changeset 40623 ea81d1ecdb26
parent 40385 a7011a835634
child 40671 0338471d9019
--- a/hotspot/test/runtime/Unsafe/NestedUnsafe.java	Wed Jul 05 22:08:56 2017 +0200
+++ b/hotspot/test/runtime/Unsafe/NestedUnsafe.java	Tue Aug 30 17:48:27 2016 -0700
@@ -79,7 +79,7 @@
             "            throw new RuntimeException(\"Exception: \" + ex.toString()); " +
             "        } " +
             "} } ",
-            "-XaddExports:java.base/jdk.internal.misc=ALL-UNNAMED");
+            "--add-exports=java.base/jdk.internal.misc=ALL-UNNAMED");
         Class klass2 = unsafe.defineAnonymousClass(NestedUnsafe.class, klassbuf2, new Object[0]);
         try {
             klass2.getMethod("doit").invoke(null);