8066961: NegativeCyclicDependencyTest.java fails on Windows
authoraeremeev
Tue, 09 Dec 2014 11:45:38 +0100
changeset 27994 6515d11b2559
parent 27993 a9130450407e
child 27995 ba5b3966b883
8066961: NegativeCyclicDependencyTest.java fails on Windows Summary: Normalizing line endings to '\n'. Reviewed-by: jlahoda
langtools/test/tools/javac/importscope/NegativeCyclicDependencyTest.java
--- 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() {