8066961: NegativeCyclicDependencyTest.java fails on Windows
Summary: Normalizing line endings to '\n'.
Reviewed-by: jlahoda
--- a/langtools/test/tools/javac/importscope/NegativeCyclicDependencyTest.java Tue Dec 09 01:06:11 2014 +0200
+++ b/langtools/test/tools/javac/importscope/NegativeCyclicDependencyTest.java Tue Dec 09 11:45:38 2014 +0100
@@ -245,7 +245,7 @@
if (ct.call()) {
throw new RuntimeException("Expected compilation failure.");
}
- return writer.toString();
+ return writer.toString().replace(ToolBox.lineSeparator, "\n");
}
public void echo() {