8211180: SourceLauncherTest.java fails in JDK12 CI on Win*
authorjjg
Wed, 26 Sep 2018 14:54:38 -0700
changeset 51890 4147b929ea72
parent 51889 76a3e8be46e6
child 51891 9d9ab30af97d
8211180: SourceLauncherTest.java fails in JDK12 CI on Win* Reviewed-by: mchung, darcy
test/langtools/tools/javac/launcher/SourceLauncherTest.java
--- 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\")");