Skip to content

Commit

Permalink
Too many compiler regression tests on Java 21 SDK build
Browse files Browse the repository at this point in the history
For SDK tests:
- Defined dedicated compliance.jre from 21 to 23, removed unused
- SDK tests will run on Java 21 tests for 1.8,11,17,20,21 JLS
- Changed compliance.jre.17 to 1.7,1.8,11,17 (added 1.7, omitted 16)

For Jenkins (github validation):
- Changed compliance to 1.8,11,17,20,21 (replaced 19 with 20)

Fixes #1605
  • Loading branch information
iloveeclipse committed Nov 17, 2023
1 parent 1222d1b commit 47bb602
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ pipeline {
-Ptest-on-javase-21 -Pbree-libs -Papi-check \
-Dcompare-version-with-baselines.skip=false \
-Djava.io.tmpdir=$WORKSPACE/tmp -Dproject.build.sourceEncoding=UTF-8 \
-Dtycho.surefire.argLine="--add-modules ALL-SYSTEM -Dcompliance=1.8,11,17,19,21 -Djdt.performance.asserts=disabled" \
-Dtycho.surefire.argLine="--add-modules ALL-SYSTEM -Dcompliance=1.8,11,17,20,21 -Djdt.performance.asserts=disabled" \
-DDetectVMInstallationsJob.disabled=true \
-Dtycho.apitools.debug \
-Dcbi-ecj-version=99.99
Expand Down
2 changes: 1 addition & 1 deletion org.eclipse.jdt.core.tests.compiler/test.xml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
<property name="classname"
value="org.eclipse.jdt.core.tests.compiler.regression.TestAll"/>
<property name="vmargs"
value="-Dcompliance.jre.11=1.8,9,10,11 -Dcompliance.jre.16=1.8,11,15,16 -Dcompliance.jre.17=1.8,11,16,17"
value="-Dcompliance.jre.17=1.7,1.8,11,17 -Dcompliance.jre.21=1.8,11,17,20,21 -Dcompliance.jre.22=1.8,11,17,21,22 -Dcompliance.jre.23=1.8,11,17,21,23"
/>
</ant>

Expand Down

0 comments on commit 47bb602

Please sign in to comment.