jwharm/java-gi

Port to JDK20 (JEP 434 Panama second preview)

Closed this issue · 1 comments

The Panama APIs have changed in the JDK 20 early access release.

  • Addressable and MemoryAddress have been merged into MemorySegment
  • MemorySession has been removed. Memory allocation lifetimes are now handled with SegmentScope and Arena.
  • 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.

jwharm commented

Fixed with #61