aboutsummaryrefslogtreecommitdiff
path: root/test/core/src
diff options
context:
space:
mode:
authorRawi01 <Rawi01@users.noreply.github.com>2021-02-17 09:41:08 +0100
committerRawi01 <Rawi01@users.noreply.github.com>2021-02-17 09:41:08 +0100
commit0106746e60263d8cc3fbd189cca7b2e09c3d5c06 (patch)
tree11492f7c5e3488d203e82a91a3ceb398fca5aa1a /test/core/src
parented4ced1a3bc694f9a9903b5a15b2641236ff2f92 (diff)
downloadlombok-0106746e60263d8cc3fbd189cca7b2e09c3d5c06.tar.gz
lombok-0106746e60263d8cc3fbd189cca7b2e09c3d5c06.tar.bz2
lombok-0106746e60263d8cc3fbd189cca7b2e09c3d5c06.zip
[fixes #2752] Save problem handler state for postponed error handling
Diffstat (limited to 'test/core/src')
-rw-r--r--test/core/src/lombok/RunTestsViaEcj.java2
1 files changed, 2 insertions, 0 deletions
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);