8066961: NegativeCyclicDependencyTest.java fails on Windows

Normalizing line endings to '\n'.

Reviewed-by: jlahoda
This commit is contained in:
Andrei Eremeev 2014-12-09 11:45:38 +01:00
parent ea81e1bc1f
commit 400505a1f2

@ -245,7 +245,7 @@ public class NegativeCyclicDependencyTest {
if (ct.call()) {
throw new RuntimeException("Expected compilation failure.");
}
return writer.toString();
return writer.toString().replace(ToolBox.lineSeparator, "\n");
}
public void echo() {