Skip to content

Commit

Permalink
8344718: Test runtime/cds/appcds/jigsaw/addmods/AddmodsOption.java fa…
Browse files Browse the repository at this point in the history
…ils on Linuxppc64le after JDK-8344239

Reviewed-by: ccheung, mdoerr
  • Loading branch information
MBaesken committed Nov 22, 2024
1 parent a07b72b commit 8903854
Showing 1 changed file with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,10 @@
*/

import jdk.test.lib.process.OutputAnalyzer;
import jdk.test.whitebox.WhiteBox;
import jdk.test.whitebox.code.Compiler;

public class AddmodsOption {

private static final WhiteBox WB = WhiteBox.getWhiteBox();
private static final boolean isJVMCISupported = WB.getBooleanVMFlag("EnableJVMCI");

public static void main(String[] args) throws Exception {
final String moduleOption = "jdk.httpserver/sun.net.httpserver.simpleserver.Main";
final String incubatorModule = "jdk.incubator.vector";
Expand Down Expand Up @@ -143,7 +140,7 @@ public static void main(String[] args) throws Exception {
.shouldContain("subgraph jdk.internal.module.ArchivedBootLayer is not recorde")
.shouldHaveExitValue(0);

if (isJVMCISupported) {
if (Compiler.isJVMCIEnabled()) {
// dump an archive with JVMCI option which indirectly adds the
// jdk.internal.vm.ci module using the --add-modules option
archiveName = TestCommon.getNewArchiveName("jvmci-module");
Expand Down

1 comment on commit 8903854

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please # to comment.