diff options
author | Reinier Zwitserloot <reinier@zwitserloot.com> | 2017-11-28 23:43:07 +0100 |
---|---|---|
committer | Reinier Zwitserloot <reinier@zwitserloot.com> | 2017-11-29 04:06:23 +0100 |
commit | 2d5ae0d920d1f602e15d9430f3650c946ad2cdfe (patch) | |
tree | 175aaf4267eb702b2677a72acd86091a9ff28e50 /src/core/lombok/javac/Javac9BasedLombokOptions.java | |
parent | 6bc9912d2675fa790b50fefc75027bc2f39f5d58 (diff) | |
download | lombok-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.java | 1 |
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; |