Port to JDK20 (JEP 434 Panama second preview)
Closed this issue · 1 comments
jwharm commented
The Panama APIs have changed in the JDK 20 early access release.
Addressable
andMemoryAddress
have been merged intoMemorySegment
MemorySession
has been removed. Memory allocation lifetimes are now handled withSegmentScope
andArena
.- Some smaller changes
I've ported the java-gi code over to the new APIs in a local branch, but will wait until the release of JDK 20 to merge it.