Skip to content

Commit

Permalink
Set ecj target version
Browse files Browse the repository at this point in the history
  • Loading branch information
Rawi01 committed Sep 19, 2024
1 parent ddf4ebc commit 09ac596
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/core/src/lombok/RunTestsViaEcj.java
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ protected CompilerOptions ecjCompilerOptions(TestParameters parameters) {
warnings.put(CompilerOptions.OPTION_ReportNonStaticAccessToStatic, "warning");
warnings.put("org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures", "ignore");
warnings.put(CompilerOptions.OPTION_Source, (ecjCompilerVersion < 9 ? "1." : "") + ecjCompilerVersion);
warnings.put(CompilerOptions.OPTION_TargetPlatform, (ecjCompilerVersion < 9 ? "1." : "") + ecjCompilerVersion);
warnings.put("org.eclipse.jdt.core.compiler.codegen.useStringConcatFactory", "disabled");
options.set(warnings);
return options;
Expand Down

0 comments on commit 09ac596

Please sign in to comment.