8160851: Remove old launcher module-related options
Reviewed-by: alanb
This commit is contained in:
parent
5b5a8a6cc6
commit
d2d5a91ec4
@ -79,7 +79,7 @@ public class NestedUnsafe {
|
|||||||
" throw new RuntimeException(\"Exception: \" + ex.toString()); " +
|
" 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]);
|
Class klass2 = unsafe.defineAnonymousClass(NestedUnsafe.class, klassbuf2, new Object[0]);
|
||||||
try {
|
try {
|
||||||
klass2.getMethod("doit").invoke(null);
|
klass2.getMethod("doit").invoke(null);
|
||||||
|
Loading…
Reference in New Issue
Block a user