-
Notifications
You must be signed in to change notification settings - Fork 168
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[2.7] JDK 21 build and test support (#1881)
* JDK 21 build and test support There are following changes due JDK21: -Tycho upgrade into 3.0.4 in core modules like jpa.jpql, core, jpa, sdo ... but 1.3.0 is activated instead default 3.0.4 by Maven profile with JDK 11 -maven.compiler.release remains at 8 -<comp.xlint>-Xlint:all,-this-escape</comp.xlint> in pom.xml in core.test.framework as compiler hangs there without any additional message -Antbuild script change to accept JDK range from 1.8 to 21 -Antbuild script sharedlib.xml change to use external JavaScript engine as this one was removed from higher versions of the JDKs -GitHub Action JDK 17 and 21-EA (Eclipse PR verification job remains with JDK 11) -JPA.JSE test fix on JDK 21 by Weld dependencies upgrade -MOXy test fix on JDK 21 by adding access to java.math module Signed-off-by: Radek Felcman <[email protected]>
- Loading branch information
Showing
11 changed files
with
47 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,6 +19,11 @@ on: | |
branches: [ '2.7' ] | ||
# Allows you to run this workflow manually from the Actions tab | ||
workflow_dispatch: | ||
|
||
concurrency: | ||
group: ${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
env: | ||
maven_version: 3.8.8 | ||
jobs: | ||
|
@@ -28,14 +33,9 @@ jobs: | |
|
||
strategy: | ||
matrix: | ||
java_version: [ 11 ] | ||
java_version: [ 17, 21-ea ] | ||
|
||
steps: | ||
- name: Cancel previous runs of this workflow | ||
uses: styfle/[email protected] | ||
with: | ||
all_but_latest: true | ||
access_token: ${{ github.token }} | ||
- name: Start MySQL Database | ||
run: | | ||
sudo systemctl start mysql.service | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters