Skip to content

Migrate Win32Handler to Java's new Foreign Function & Memory API - #2908

Open
HannesWell wants to merge 1 commit into
eclipse-platform:masterfrom
HannesWell:win32Handler-ffm
Open

Migrate Win32Handler to Java's new Foreign Function & Memory API#2908
HannesWell wants to merge 1 commit into
eclipse-platform:masterfrom
HannesWell:win32Handler-ffm

Conversation

@HannesWell

@HannesWell HannesWell commented Sep 3, 2026

Copy link
Copy Markdown
Member

Migrate the Win32Handler off JNA and to the Java Foreign Function & Memory (FFM) API.
The FFM bindings are generated by jextract using the script added with this change.

Currently this contains TODOs that have to be resolved before this is submitted.

TODO: Add post processor similar like the javadoc basher, that
- detects typedefs and replaces the original struct definition with the
(often nicer) alias
- removes unused code, like reinterpreters and tracing
- suppresses warnings about unused imports or nls warnings (or just
all?)
@github-actions

github-actions Bot commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

Test Results

0 files   -     51  0 suites   - 51   0s ⏱️ - 54m 33s
0 tests  -  4 766  0 ✅  -  4 743  0 💤  -  22  0 ❌ ±0 
0 runs   - 11 970  0 ✅  - 11 816  0 💤  - 153  0 ❌ ±0 

Results for commit 5a4b7b7. ± Comparison against base commit 4bb89fc.

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

Successfully merging this pull request may close these issues.

1 participant