mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
path can be null in case of jdk9
This commit is contained in:
@@ -1234,7 +1234,9 @@ public class BuildManager implements Disposable {
|
||||
final List<String> launcherCp = new ArrayList<>();
|
||||
launcherCp.add(ClasspathBootstrap.getResourcePath(launcherClass));
|
||||
launcherCp.addAll(BuildProcessClasspathManager.getLauncherClasspath(project));
|
||||
launcherCp.add(compilerPath);
|
||||
if (compilerPath != null) { // can be null in case of jdk9
|
||||
launcherCp.add(compilerPath);
|
||||
}
|
||||
ClasspathBootstrap.appendJavaCompilerClasspath(launcherCp, shouldIncludeEclipseCompiler(projectConfig));
|
||||
cmdLine.addParameter("-classpath");
|
||||
cmdLine.addParameter(classpathToString(launcherCp));
|
||||
|
||||
Reference in New Issue
Block a user