Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[2.7] JDK 21 build and test support #1881

Merged
merged 3 commits into from
Jun 26, 2023

Conversation

rfelcman
Copy link
Contributor

@rfelcman rfelcman commented May 19, 2023

There are following changes due JDK21:

  • Tycho upgrade into 3.0.4 in core modules like jpa.jpql, core, jpa, sdo ... but only for JDK17+, for JDK11 remains origin 1.3.0 by Maven profile
  • maven.compiler.release remains at 8
  • 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
  • Weld upgrade to make JPA.JSE test (Dead Lock) functional on JDK 17+
  • GitHub Action with JDK 17 and 21-EA (Eclipse PR verification job remains with JDK 11)

@rfelcman rfelcman marked this pull request as draft June 7, 2023 06:38
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)

Signed-off-by: Radek Felcman <[email protected]>
JPA.JSE test fix on JDK 21 by Weld dependencies upgrade

Signed-off-by: Radek Felcman <[email protected]>
@rfelcman rfelcman marked this pull request as ready for review June 21, 2023 11:31
Copy link
Member

@lukasj lukasj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@rfelcman rfelcman merged commit f4e653c into eclipse-ee4j:2.7 Jun 26, 2023
@rfelcman rfelcman deleted the build_jdk21_2.7 branch June 26, 2023 08:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants