mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-242516 Eclipse compiler throws IllegalArgumentException because -extDirs is not supported on jdk9+
GitOrigin-RevId: bf032df75088619ca276d0b434487f4665d58ede
This commit is contained in:
committed by
intellij-monorepo-bot
parent
db35ecd64b
commit
7afc2b6fba
@@ -65,7 +65,7 @@ public final class JavacMain {
|
||||
final JpsJavacFileManager fileManager = new JpsJavacFileManager(
|
||||
new ContextImpl(compiler, diagnosticConsumer, outputSink, modulePath, canceledStatus), javacBefore9, JavaSourceTransformer.getTransformers()
|
||||
);
|
||||
if (!platformClasspath.isEmpty()) {
|
||||
if (javacBefore9 && !platformClasspath.isEmpty()) {
|
||||
// for javac6 this will prevent lazy initialization of Paths.bootClassPathRtJar
|
||||
// and thus usage of symbol file for resolution, when this file is not expected to be used
|
||||
fileManager.handleOption("-bootclasspath", Collections.singleton("").iterator());
|
||||
|
||||
Reference in New Issue
Block a user