changeset 11824:65a32a1c9bf9

8160851: Remove old launcher module-related options Reviewed-by: alanb
author mchung
date Tue, 30 Aug 2016 17:48:27 -0700
parents b8b694c6b4d2
children c1471e013d89
files test/runtime/Unsafe/NestedUnsafe.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/test/runtime/Unsafe/NestedUnsafe.java	Thu Aug 25 22:36:30 2016 +0000
+++ b/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);