changeset 51890:4147b929ea72

8211180: SourceLauncherTest.java fails in JDK12 CI on Win* Reviewed-by: mchung, darcy
author jjg
date Wed, 26 Sep 2018 14:54:38 -0700
parents 76a3e8be46e6
children 9d9ab30af97d
files test/langtools/tools/javac/launcher/SourceLauncherTest.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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\")");