JDK-20 support
mhjort opened this issue · 3 comments
mhjort commented
Should this library support JDK-20? With JDK-19 everything works. However, when upgrading to JDK-20 I get following error:
Caused by: java.lang.ClassNotFoundException: jdk.incubator.foreign.MemoryAddress
cnuernber commented
yes it should - jdk-20 has same foreign iface as jdk-19 so I guess the system is loading the wrong bindings.
sbenhaim commented
In JDK 20, jdk.incubator.foreign.MemoryAddress has been moved to java.lang.foreign.MemorySegment.