Migrate Win32Handler to Java's new Foreign Function & Memory API - #2908
Conversation
|
Thanks for working on this @HannesWell I would like to look into the Linux side, so I suggest to move the BREE change out into an independent PR so that you can work on the Win side and I can work on the Linux side. I think only the BREE is actually overlapping for this. work. |
Yes, my plan was also to look at the Linux side subsequently. |
2ae7789 to
d60a77a
Compare
This allows to drop the dependency on JNA and requires to update the required EE of 'org.eclipse.core.filesystem' to Java-25. Use the jextract tool provided by the OpenJDK project to generate the FFM bindings for the called methods of the Windows API. Add a script to regenerate these bindings.
d60a77a to
f07b368
Compare
|
@HannesWell will you also address Mac OS? |
For the file-system, macOS should be 'handled' by |
Migrate the
Win32Handleroff JNA and to the Java Foreign Function & Memory (FFM) API.The FFM bindings are generated by
jextractusing the script added with this change.Currently this contains TODOs that have to be resolved before this is submitted.