Skip to content

[GR-64843] Remove JDK 21 Substitutions from Native Image #11162

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

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

graalvmbot
Copy link
Collaborator

@graalvmbot graalvmbot commented May 8, 2025

JDK 21 support was dropped in #11141, so we can cleanup the native image code base.

In this PR, we deprecated the JDK21OrEarlier and JDKLatest predicates. Substitutions that used the JDK21OrEarlier got removed completely. For substitutions that used the JDKLatest predicate, the onlyWith clause was removed since it is now always true. In addition, some minor code clean-ups were done to fix compilation errors. Larger refactorings are omitted on purpose. There will be follow-up PRs that will do further clean-ups.

The PR is best review commit by commit.

@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label May 8, 2025
@zapster zapster self-assigned this May 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OCA Verified All contributors have signed the Oracle Contributor Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants