# HG changeset patch # User amurillo # Date 1472660573 25200 # Node ID 0338471d90199df6f2059a10b624d6068377ea83 # Parent 76bf2fc655cdc0013beb76e91804ee86a8c7b992# Parent ea81d1ecdb2666fd584596b38746fb35e3997d58 Merge diff -r 76bf2fc655cd -r 0338471d9019 hotspot/test/runtime/Unsafe/NestedUnsafe.java --- a/hotspot/test/runtime/Unsafe/NestedUnsafe.java Fri Aug 26 10:02:47 2016 -0700 +++ b/hotspot/test/runtime/Unsafe/NestedUnsafe.java Wed Aug 31 09:22:53 2016 -0700 @@ -80,7 +80,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);