8344239: runtime/cds/appcds/jigsaw/addmods/AddmodsOption.java fails on x64 with -Xmixed

Reviewed-by: iklam
This commit is contained in:
Calvin Cheung 2024-11-20 15:41:26 +00:00
parent 7d4c3fd091
commit 9be8ac6fbc

View File

@ -39,7 +39,7 @@ import jdk.test.whitebox.WhiteBox;
public class AddmodsOption { public class AddmodsOption {
private static final WhiteBox WB = WhiteBox.getWhiteBox(); private static final WhiteBox WB = WhiteBox.getWhiteBox();
private static final boolean isJVMCISupported = (WB.getBooleanVMFlag("EnableJVMCI") != null); private static final boolean isJVMCISupported = WB.getBooleanVMFlag("EnableJVMCI");
public static void main(String[] args) throws Exception { public static void main(String[] args) throws Exception {
final String moduleOption = "jdk.httpserver/sun.net.httpserver.simpleserver.Main"; final String moduleOption = "jdk.httpserver/sun.net.httpserver.simpleserver.Main";