enable native access for javafx

This commit is contained in:
Gregor Lohaus
2026-05-27 16:10:24 +02:00
parent 824c018b92
commit c2a45ca17b
2 changed files with 6 additions and 0 deletions

View File

@@ -89,6 +89,7 @@
native-image \ native-image \
--no-fallback \ --no-fallback \
--enable-native-access=javafx.graphics \
--module-path "$javafx_module_path" \ --module-path "$javafx_module_path" \
--add-modules javafx.controls,javafx.graphics \ --add-modules javafx.controls,javafx.graphics \
-cp "$app_classpath" \ -cp "$app_classpath" \

View File

@@ -24,6 +24,11 @@
"allDeclaredConstructors": true, "allDeclaredConstructors": true,
"allPublicConstructors": true "allPublicConstructors": true
}, },
{
"name": "com.sun.prism.es2.X11GLFactory",
"allDeclaredConstructors": true,
"allPublicConstructors": true
},
{ {
"name": "com.sun.prism.sw.SWPipeline", "name": "com.sun.prism.sw.SWPipeline",
"allDeclaredConstructors": true, "allDeclaredConstructors": true,