8160851: Remove old launcher module-related options

Reviewed-by: alanb
This commit is contained in:
Mandy Chung 2016-08-30 17:48:27 -07:00
parent 5b5a8a6cc6
commit d2d5a91ec4

View File

@ -79,7 +79,7 @@ public class NestedUnsafe {
" 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);