From 7849ba677388c1f2c10507d98affcfdc3cd54229 Mon Sep 17 00:00:00 2001 From: Tomas Zezula Date: Fri, 18 Oct 2024 15:38:57 +0200 Subject: [PATCH] 8342295: compiler/jvmci/TestJVMCISavedProperties.java fails due to garbage in output --- .../jtreg/compiler/jvmci/TestJVMCISavedProperties.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/test/hotspot/jtreg/compiler/jvmci/TestJVMCISavedProperties.java b/test/hotspot/jtreg/compiler/jvmci/TestJVMCISavedProperties.java index 31e592ef906fa..0bddce28325c4 100644 --- a/test/hotspot/jtreg/compiler/jvmci/TestJVMCISavedProperties.java +++ b/test/hotspot/jtreg/compiler/jvmci/TestJVMCISavedProperties.java @@ -48,15 +48,13 @@ public static void main(String[] args) throws Exception { ProcessBuilder pb = ProcessTools.createLimitedTestJavaProcessBuilder( "-XX:+UnlockExperimentalVMOptions", "-XX:+EagerJVMCI", - "-XX:+UseJVMCICompiler", - "-Djvmci.Compiler=null", + "-XX:+EnableJVMCI", "-Ddebug.jvmci.PrintSavedProperties=true", "-Dapp1.propX=true", "-Dapp2.propY=SomeStringValue", "TestJVMCISavedProperties", "true"); OutputAnalyzer output = new OutputAnalyzer(pb.start()); output.stdoutShouldContain("debug.jvmci.PrintSavedProperties=true"); - output.stdoutShouldContain("jvmci.Compiler=null"); output.stdoutShouldContain("app1.propX=true"); output.stdoutShouldContain("app2.propY=SomeStringValue"); output.stdoutShouldContain("java.specification.version=" + Runtime.version().feature());