From 77488a9c3ca1157e6f0fae90e533277f32aa45e7 Mon Sep 17 00:00:00 2001 From: Eugene Zhuravlev Date: Thu, 12 Dec 2019 17:23:17 +0100 Subject: [PATCH] ignore user-specified custom compiler options that conflict with the options induced from the project configuration GitOrigin-RevId: 2ecdeeef112b811a13fe6db427b115388d27a4de --- .../org/jetbrains/jps/incremental/java/JavaBuilder.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/jps/jps-builders/src/org/jetbrains/jps/incremental/java/JavaBuilder.java b/jps/jps-builders/src/org/jetbrains/jps/incremental/java/JavaBuilder.java index 6ba614caf085..312eb4a34e37 100644 --- a/jps/jps-builders/src/org/jetbrains/jps/incremental/java/JavaBuilder.java +++ b/jps/jps-builders/src/org/jetbrains/jps/incremental/java/JavaBuilder.java @@ -93,7 +93,12 @@ public class JavaBuilder extends ModuleLevelBuilder { private static final List COMPILABLE_EXTENSIONS = Collections.singletonList(JAVA_EXTENSION); private static final Set FILTERED_OPTIONS = ContainerUtil.newHashSet( - "-target", "--release" + "-target", "--release", + "--boot-class-path", "-bootclasspath", + "--class-path", "-classpath", "-cp", + "-processorpath", "-sourcepath", + "-d", + "--module-path", "-p", "--module-source-path" ); private static final Set FILTERED_SINGLE_OPTIONS = ContainerUtil.newHashSet( "-g", "-deprecation", "-nowarn", "-verbose", "-proc:none", "-proc:only", "-proceedOnError"