8160851: Remove old launcher module-related options
authormchung
Tue, 30 Aug 2016 17:48:27 -0700
changeset 40623 ea81d1ecdb26
parent 40608 a71210c0d980
child 40671 0338471d9019
8160851: Remove old launcher module-related options Reviewed-by: alanb
hotspot/test/runtime/Unsafe/NestedUnsafe.java
--- 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);