changeset 2750:20e26aa33799

8066961: NegativeCyclicDependencyTest.java fails on Windows Summary: Normalizing line endings to '\n'. Reviewed-by: jlahoda
author aeremeev
date Tue, 09 Dec 2014 11:45:38 +0100
parents 6c2c0095eca4
children b32db211cfbc
files test/tools/javac/importscope/NegativeCyclicDependencyTest.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/test/tools/javac/importscope/NegativeCyclicDependencyTest.java	Tue Dec 09 01:06:11 2014 +0200
+++ b/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() {