RFR: JDK-8252458: Test tools/javac/parser/JavacParserTest.java fails on Windows after JDK-8237041

Vicente Romero vicente.romero at oracle.com
Thu Aug 27 16:19:51 UTC 2020


looks good,
Vicente

On 8/27/20 11:36 AM, Jan Lahoda wrote:
> Hi,
>
> 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.
>
> Proposed webrev:
> http://cr.openjdk.java.net/~jlahoda/8252458/webrev.00/
>
> JBS:
> https://bugs.openjdk.java.net/browse/JDK-8252458
>
> Thanks for any comments!
>
> Jan



More information about the compiler-dev mailing list