Run the CAYW JavaFX picker in the native jabsrv image - #16634
Conversation
… drop headless build flag
PR Summary by QodoEnable the JavaFX CAYW picker in native jabsrv
AI Description
Diagram
High-Level Assessment
Files changed (3)
|
Code Review by Qodo
1. Native CAYW fix lacks tests
|
Summary
The native jabsrv image builds, but the CAYW endpoint failed at runtime because the image lacked the reachability metadata JavaFX needs.
This PR adds:
com.sun.glass.ui.mac.MacAccessible+ its enums,java.lang.Enum.toString,MacVariant) so the Glass accessibility bridge initializes;cayw.css,JabRef-icon-64.png) ;-Djava.awt.headless=truefrom the native build args so the JavaFX GUI isn't forced headless.-march=compatibilityto prevent CPU-ISA error on older machines (document)Status:
Verified on macOS.
Linux is pending a GPU. The test VM has no GPU, so JavaFX's es2 pipeline rejects the software (llvmpipe) renderer (System GPU doesn't meet the es2 pipe requirement). It can be forced with -Dprism.forceGPU=true and does render (confirmed via screenshot under xvfb), but there's no proper visual/interactive verification without a real display+GPU. I've requested an AWS G-instance vCPU quota increase (awaiting approval) to bring up a GPU desktop for manual verification
Steps to test
Related issues and pull requests
Closes NA
This PR is part of the JabRef components as native images project.
Follow-up to #16565
AI usage
claude-opus-4-8
AI CHECKLIST.md walkthrough
Checklist
CHANGELOG.mddescribing the change from the user's point of view (if the change is visible to the user)