Fixed: command line testing with Javac9+ would fail on all tests that are testing that the compiler emits warning/error messages.

This commit is contained in:
Reinier Zwitserloot committed 2018-10-02 04:02:19 +02:00
1 parent cd970993e8
commit 2ae7b4d516
1 file changed
+1
@@ -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);