From 2ae7b4d516e2dccb3c55e2512faef68b0afc716e Mon Sep 17 00:00:00 2001 From: Reinier Zwitserloot Date: Tue, 2 Oct 2018 04:02:19 +0200 Subject: Fixed: command line testing with Javac9+ would fail on all tests that are testing that the compiler emits warning/error messages. --- src/delombok/lombok/delombok/Delombok.java | 1 + 1 file changed, 1 insertion(+) (limited to 'src') 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); -- cgit