Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
8252458: Test tools/javac/parser/JavacParserTest.java fails on Window…
…s after JDK-8237041

Reviewed-by: vromero
  • Loading branch information
Jan Lahoda committed Aug 27, 2020
1 parent 074cabc commit 461a4d5e751fbf0af77f8c955696b252eca1e7cf
Showing 1 changed file with 1 addition and 1 deletion.
@@ -1542,7 +1542,7 @@ class Test {
""";
JavacTaskImpl ct = (JavacTaskImpl) tool.getTask(null, fm, null, List.of("-XDdev"),
null, Arrays.asList(new MyFileObject(code)));
String ast = ct.parse().iterator().next().toString();
String ast = ct.parse().iterator().next().toString().replaceAll("\\R", "\n");
String expected = """
package t;
\n\

0 comments on commit 461a4d5

Please sign in to comment.