# HG changeset patch # User mchung # Date 1472604507 25200 # Node ID ea81d1ecdb2666fd584596b38746fb35e3997d58 # Parent a71210c0d9800eb6925b61ecd6198abd554f90ee 8160851: Remove old launcher module-related options Reviewed-by: alanb diff -r a71210c0d980 -r ea81d1ecdb26 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);