Skip to content

Commit 27dbdec

Browse files
committed
8374217: Remove IO.java test from AOT ProblemList
Reviewed-by: jpai, iklam
1 parent 4458cab commit 27dbdec

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

test/jdk/ProblemList-AotJdk.txt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,6 @@ java/lang/module/ModuleDescriptorHashCodeTest.java 0000000 generic-
3939
# parameters will always cause the class java/lang/invoke/MethodHandleStatics to be initialized
4040
java/lang/invoke/DumpMethodHandleInternals.java 0000000 generic-all
4141

42-
# The test uses "--add-modules jdk.internal.le" during production.
43-
# So the test is incompatible with AOT_JDK testing because because all runs must have consistent module options on the command line.
44-
java/lang/IO/IO.java 0000000 generic-all
45-
4642
# This test checks for a warning message that's already printed by
4743
# sun.util.locale.BaseLocale.<clinit> during the training run. Because BaseLocale is aot-initialized,
4844
# this message will not be printed in the production run.

test/jdk/java/lang/IO/IO.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ void main() {
149149
}
150150
""");
151151
}
152-
var pb = ProcessTools.createTestJavaProcessBuilder(file.toString());
152+
var pb = ProcessTools.createTestJavaProcessBuilder("-Xlog:aot=off", "-Xlog:cds=off", file.toString());
153153
OutputAnalyzer output = ProcessTools.executeProcess(pb);
154154
assertEquals(0, output.getExitValue());
155155
assertTrue(output.getStderr().isEmpty());

0 commit comments

Comments
 (0)