Skip to content

[GR-46740] Fix native downcalls on JDK 22 #7554

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 1 commit into from
Oct 9, 2023

Conversation

graalvmbot
Copy link
Collaborator

No description provided.

@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Oct 5, 2023
@graalvmbot graalvmbot force-pushed the sh/foreign-downcall-fixjdk22 branch from 57cc5d9 to 613d0c6 Compare October 6, 2023 09:17
@zakkak
Copy link
Collaborator

zakkak commented Oct 6, 2023

@mur47x111 this breaks JDK 21 support, right? i.e. if I build GraalVM based on this branch using JDK 21 foreign calls will be broken.

@graalvmbot graalvmbot closed this Oct 9, 2023
@graalvmbot graalvmbot merged commit e23b390 into master Oct 9, 2023
@graalvmbot graalvmbot deleted the sh/foreign-downcall-fixjdk22 branch October 9, 2023 18:32
@zakkak
Copy link
Collaborator

zakkak commented Oct 10, 2023

Hi @fniephaus can you help answering the above?

@mur47x111
Copy link
Member

this is a question for @peter-hofer

@peter-hofer
Copy link
Member

@zakkak this change affects only downcalls of the "Project Panama" Foreign Function & Memory API in GraalVM Native Image. This API is a preview feature at this time and we currently plan on supporting its features in Native Image only on the latest JDK version that is supported by GraalVM. Our support in JDK 21 is also only in its early stages.
@christianwimmer @wirthi

@zakkak
Copy link
Collaborator

zakkak commented Oct 20, 2023

Thank you for the clarification @peter-hofer.

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.

4 participants