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

Java 21 LTS java.lang.foreign #346

Open
istinnstudio opened this issue Dec 4, 2023 · 2 comments
Open

Java 21 LTS java.lang.foreign #346

istinnstudio opened this issue Dec 4, 2023 · 2 comments

Comments

@istinnstudio
Copy link

istinnstudio commented Dec 4, 2023

This is not a "real" issue, it is just a reminder that Java 21 LTS has changed the "preview" feature of the used memory API in branches 17 and 20. So we need a revision of source for Java 21 by using the finalized [java.lang.foreign] (https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/lang/foreign/package-summary.html), hopefully RuedigerMoeller will do magic again and introduce an updated 21 source branch using the final Foreign Memory Access API, replacing the non existent jdk.incubator.foreign in 21 LTS. Also there is a naming conflict with janassist lib in FieldAccess at FSTStructFactory class.

@maximevdk-tidal
Copy link

Do you know if there there is a way to get it working on Java 21 while waiting for the changes?

@istinnstudio
Copy link
Author

istinnstudio commented Dec 14, 2023

Compiled sources with java17 should work just fine with 21, only latest source needs update, there has been significant changes on java.lang.foreign, so jdk17/20 branch source is not compatible with java21 for compile from source

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

No branches or pull requests

2 participants