aboutsummaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
Diffstat (limited to 'src/core')
-rw-r--r--src/core/lombok/javac/Javac9BasedLombokOptions.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/lombok/javac/Javac9BasedLombokOptions.java b/src/core/lombok/javac/Javac9BasedLombokOptions.java
index 95bfff77..e786346d 100644
--- a/src/core/lombok/javac/Javac9BasedLombokOptions.java
+++ b/src/core/lombok/javac/Javac9BasedLombokOptions.java
@@ -39,6 +39,7 @@ public class Javac9BasedLombokOptions extends LombokOptions {
}
@Override public void putJavacOption(String optionName, String value) {
+ if (optionName.equals("CLASSPATH")) optionName = "CLASS_PATH";
if (optionName.equals("SOURCEPATH")) optionName = "SOURCE_PATH";
if (optionName.equals("BOOTCLASSPATH")) optionName = "BOOT_CLASS_PATH";
String optionText = Option.valueOf(optionName).primaryName;