aboutsummaryrefslogtreecommitdiff
path: root/src/delombok/lombok
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@zwitserloot.com>2018-10-02 04:02:19 +0200
committerReinier Zwitserloot <reinier@zwitserloot.com>2018-10-02 04:02:19 +0200
commit2ae7b4d516e2dccb3c55e2512faef68b0afc716e (patch)
tree8c0a49f0ade6281fad4f6d4c58471f0ed145a271 /src/delombok/lombok
parentcd970993e80b57eceabc7a8d66805d48038e99ec (diff)
downloadlombok-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/delombok/lombok')
-rw-r--r--src/delombok/lombok/delombok/Delombok.java1
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);