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

Merged
merged 4 commits into from
May 11, 2025

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
@graalvmbot graalvmbot force-pushed the je/svm-jdk21-cleanup-GR-64838 branch from 72b1543 to 8d36b5f Compare May 11, 2025 19:33
@graalvmbot graalvmbot closed this May 11, 2025
@graalvmbot graalvmbot deleted the je/svm-jdk21-cleanup-GR-64838 branch May 11, 2025 23:14
@graalvmbot graalvmbot merged commit f734b47 into master May 11, 2025
13 checks passed
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