Skip to content

Revisit build to promote multi-release jar support #34507

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

Closed
bclozel opened this issue Feb 27, 2025 · 0 comments
Closed

Revisit build to promote multi-release jar support #34507

bclozel opened this issue Feb 27, 2025 · 0 comments
Assignees
Labels
type: task A general task
Milestone

Comments

@bclozel
Copy link
Member

bclozel commented Feb 27, 2025

As of #34220 the build is using a Java 23 toolchain to compile classes with the relevant "-release" compilation parameter to properly target the Java 17 baseline or higher for multi-release Jars.

This issue is about refactoring our build to fully enforce this and prepare for Java24 specific code:

  • remove our custom toolchain configuration for testing
  • use a custom multi-release jar that uses the "-release" parameter instead of the language level, assuming that the main toolchain is always configured with a Java version that is higher than all multi-release jar specific variants
@bclozel bclozel added the type: task A general task label Feb 27, 2025
@bclozel bclozel added this to the 7.0.0-M3 milestone Feb 27, 2025
@bclozel bclozel self-assigned this Feb 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: task A general task
Projects
None yet
Development

No branches or pull requests

1 participant