From 0106746e60263d8cc3fbd189cca7b2e09c3d5c06 Mon Sep 17 00:00:00 2001 From: Rawi01 Date: Wed, 17 Feb 2021 09:41:08 +0100 Subject: [fixes #2752] Save problem handler state for postponed error handling --- test/core/src/lombok/RunTestsViaEcj.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test/core/src') diff --git a/test/core/src/lombok/RunTestsViaEcj.java b/test/core/src/lombok/RunTestsViaEcj.java index 1d840a21..454a8aef 100644 --- a/test/core/src/lombok/RunTestsViaEcj.java +++ b/test/core/src/lombok/RunTestsViaEcj.java @@ -83,6 +83,8 @@ public class RunTestsViaEcj extends AbstractRunTests { warnings.put(CompilerOptions.OPTION_ReportUnusedLabel, "ignore"); warnings.put(CompilerOptions.OPTION_ReportUnusedImport, "ignore"); warnings.put(CompilerOptions.OPTION_ReportUnusedPrivateMember, "ignore"); + warnings.put(CompilerOptions.OPTION_ReportIndirectStaticAccess, "warning"); + warnings.put(CompilerOptions.OPTION_ReportNonStaticAccessToStatic, "warning"); int ecjVersion = Eclipse.getEcjCompilerVersion(); warnings.put(CompilerOptions.OPTION_Source, (ecjVersion < 9 ? "1." : "") + ecjVersion); options.set(warnings); -- cgit