aboutsummaryrefslogtreecommitdiff
path: root/src/core/lombok/javac/Javac9BasedLombokOptions.java
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@zwitserloot.com>2017-11-28 23:43:07 +0100
committerReinier Zwitserloot <reinier@zwitserloot.com>2017-11-29 04:06:23 +0100
commit2d5ae0d920d1f602e15d9430f3650c946ad2cdfe (patch)
tree175aaf4267eb702b2677a72acd86091a9ff28e50 /src/core/lombok/javac/Javac9BasedLombokOptions.java
parent6bc9912d2675fa790b50fefc75027bc2f39f5d58 (diff)
downloadlombok-2d5ae0d920d1f602e15d9430f3650c946ad2cdfe.tar.gz
lombok-2d5ae0d920d1f602e15d9430f3650c946ad2cdfe.tar.bz2
lombok-2d5ae0d920d1f602e15d9430f3650c946ad2cdfe.zip
some bugfixes for JDK9 support involving the Options system of javac.
Diffstat (limited to 'src/core/lombok/javac/Javac9BasedLombokOptions.java')
-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;