-
Bug
-
Resolution: Unresolved
-
P4
-
jfx24
We have two tests that dynamically load the JavaFX modules at runtime using a ModuleLayer. Those tests need to call ModuleLayer.Controller::enableNativeAccess to enable native access for the JavaFX modules. This method is a preview feature in JDK 21, so cannot be called directly if we happen to build and test JavaFX with JDK 21. As such, when I added the calls to enableNativeAccess as part of
Once we bump the minimum JDK to 22, the reflection calls should be replaced with direct calls to enableNativeAccess. See
- is blocked by
-
JDK-8340003 Bump minimum JDK version for JavaFX to JDK 22
- Resolved
- relates to
-
JDK-8339517 Add --enable-native-access flag when running tests
- Resolved