RFR: JDK-8252458: Test tools/javac/parser/JavacParserTest.java fails on Windows after JDK-8237041
jan.lahoda at oracle.com
Thu Aug 27 15:36:47 UTC 2020
In the test for a recently committed JDK-8237041, the result of
JCTree.toString() is compared with the expected output. But the
JCTree.toString() uses platform-specific newlines, and the test is not
compensating that, and fails.
The proposed solution is to normalize the output of JCTree.toString(),
as other sub-tests of JavacParserTest do.
Thanks for any comments!
More information about the compiler-dev