Do not add JDK .jar roots if the JDK is modular (9+)

Files like ant-javafx.jar, deploy.jar, java.jnlp.jar, javafx-swt.jar etc
should not be added to the classpath if JDK home points to a JDK 9
distribution
This commit is contained in:
Alexander Udalov
2017-06-23 16:20:08 +03:00
parent 9274d963aa
commit 2d3888c710
7 changed files with 35 additions and 14 deletions
@@ -77,7 +77,7 @@ public abstract class AbstractCliTest extends TestCaseWithTmpdir {
.replace("\\", "/")
.replace(KotlinCompilerVersion.VERSION, "$VERSION$");
return normalizedOutputWithoutExitCode + exitCode;
return normalizedOutputWithoutExitCode + exitCode + "\n";
}
private void doTest(@NotNull String fileName, @NotNull CLITool<?> compiler) throws Exception {