8211180: SourceLauncherTest.java fails in JDK12 CI on Win*
Reviewed-by: mchung, darcy
--- a/test/langtools/tools/javac/launcher/SourceLauncherTest.java Wed Sep 26 12:47:38 2018 -0700
+++ b/test/langtools/tools/javac/launcher/SourceLauncherTest.java Wed Sep 26 14:54:38 2018 -0700
@@ -244,7 +244,7 @@
.className(sourceFile.toString())
.run(Task.Expect.SUCCESS)
.getOutput(Task.OutputKind.STDOUT);
- checkEqual("stdout", log.trim().replace(tb.lineSeparator, "\n"),
+ checkEqual("stdout", log.trim(),
"user.dir=" + System.getProperty("user.dir") + "\n" +
"exception: java.security.AccessControlException: " +
"access denied (\"java.util.PropertyPermission\" \"user.dir\" \"write\")");