--- a/langtools/test/tools/javac/modules/AddLimitMods.java Tue Apr 05 00:46:51 2016 -0700
+++ b/langtools/test/tools/javac/modules/AddLimitMods.java Tue Apr 05 21:17:25 2016 +0100
@@ -391,7 +391,7 @@
Collections.emptyList(),
"-modulepath", modulePath.toString() + File.pathSeparator + out.getParent().toString(),
"-classpath", classpathOut.toString(),
- "-XaddReads:m2=ALL-UNNAMED,m2=automatic",
+ "-XaddReads:m2=ALL-UNNAMED,automatic",
"-m", "m2/test.Test"))
.run()
.writeAll()
--- a/langtools/test/tools/javac/platform/PlatformProviderTest.java Tue Apr 05 00:46:51 2016 -0700
+++ b/langtools/test/tools/javac/platform/PlatformProviderTest.java Tue Apr 05 21:17:25 2016 +0100
@@ -99,8 +99,8 @@
.outdir(".")
.options("-J-classpath",
"-J" + System.getProperty("test.classes"),
- "-J-XaddExports:jdk.compiler/com.sun.tools.javac.platform=ALL-UNNAMED," +
- "jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED",
+ "-J-XaddExports:jdk.compiler/com.sun.tools.javac.platform=ALL-UNNAMED",
+ "-J-XaddExports:jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED",
"-XDrawDiagnostics",
"-release",
platformSpec,
@@ -135,8 +135,8 @@
.outdir(".")
.options("-J-classpath",
"-J" + System.getProperty("test.classes"),
- "-J-XaddExports:jdk.compiler/com.sun.tools.javac.platform=ALL-UNNAMED," +
- "jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED",
+ "-J-XaddExports:jdk.compiler/com.sun.tools.javac.platform=ALL-UNNAMED",
+ "-J-XaddExports:jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED",
"-release",
"fail",
System.getProperty("test.src") + "/PlatformProviderTestSource.java")