8374217: Remove IO.java test from AOT ProblemList

Reviewed-by: jpai, iklam
This commit is contained in:
Naoto Sato 2026-01-05 17:16:35 +00:00
parent 4458cab4b0
commit 27dbdec297
2 changed files with 1 additions and 5 deletions

View File

@ -39,10 +39,6 @@ java/lang/module/ModuleDescriptorHashCodeTest.java 0000000 generic-
# parameters will always cause the class java/lang/invoke/MethodHandleStatics to be initialized
java/lang/invoke/DumpMethodHandleInternals.java 0000000 generic-all
# The test uses "--add-modules jdk.internal.le" during production.
# So the test is incompatible with AOT_JDK testing because because all runs must have consistent module options on the command line.
java/lang/IO/IO.java 0000000 generic-all
# This test checks for a warning message that's already printed by
# sun.util.locale.BaseLocale.<clinit> during the training run. Because BaseLocale is aot-initialized,
# this message will not be printed in the production run.

View File

@ -149,7 +149,7 @@ public class IO {
}
""");
}
var pb = ProcessTools.createTestJavaProcessBuilder(file.toString());
var pb = ProcessTools.createTestJavaProcessBuilder("-Xlog:aot=off", "-Xlog:cds=off", file.toString());
OutputAnalyzer output = ProcessTools.executeProcess(pb);
assertEquals(0, output.getExitValue());
assertTrue(output.getStderr().isEmpty());