diff options
author | Reinier Zwitserloot <reinier@zwitserloot.com> | 2018-10-02 04:02:19 +0200 |
---|---|---|
committer | Reinier Zwitserloot <reinier@zwitserloot.com> | 2018-10-02 04:02:19 +0200 |
commit | 2ae7b4d516e2dccb3c55e2512faef68b0afc716e (patch) | |
tree | 8c0a49f0ade6281fad4f6d4c58471f0ed145a271 /src | |
parent | cd970993e80b57eceabc7a8d66805d48038e99ec (diff) | |
download | lombok-2ae7b4d516e2dccb3c55e2512faef68b0afc716e.tar.gz lombok-2ae7b4d516e2dccb3c55e2512faef68b0afc716e.tar.bz2 lombok-2ae7b4d516e2dccb3c55e2512faef68b0afc716e.zip |
Fixed: command line testing with Javac9+ would fail on all tests that are testing that the compiler emits warning/error messages.
Diffstat (limited to 'src')
-rw-r--r-- | src/delombok/lombok/delombok/Delombok.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/delombok/lombok/delombok/Delombok.java b/src/delombok/lombok/delombok/Delombok.java index f5372fbb..be0ce81c 100644 --- a/src/delombok/lombok/delombok/Delombok.java +++ b/src/delombok/lombok/delombok/Delombok.java @@ -527,6 +527,7 @@ public class Delombok { } String[] argv = argsList.toArray(new String[0]); args.init("javac", argv); + options.put("diags.legacy", "TRUE"); } CommentCatcher catcher = CommentCatcher.create(context); |