Skip to content

Commit d5be829

Browse files
committed
8253770: Test tools/javac/parser/JavacParserTest.java fails on Windows after JDK-8253584
Reviewed-by: vromero
1 parent 6e5d4f3 commit d5be829

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/langtools/tools/javac/parser/JavacParserTest.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1604,7 +1604,7 @@ String s() {
16041604
} """;
16051605
assertEquals("Unexpected AST, got:\n" + ast, expected, ast);
16061606
assertEquals("Unexpected errors, got:\n" + out.toString(),
1607-
out.toString(),
1607+
out.toString().replaceAll("\\R", "\n"),
16081608
"""
16091609
Test.java:5:17: compiler.err.expected: token.identifier
16101610
Test.java:5:16: compiler.err.not.stmt

0 commit comments

Comments
 (0)