-
Bug
-
Resolution: Fixed
-
P4
-
jfx24
-
b11
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
Now that we have bumped the minimum JDK to 22 via
The two files in question are:
tests/system/src/testapp7/java/mymod/myapp7/DataUrlWithModuleLayerLauncher.java
tests/system/src/testapp7/java/mymod/myapp7/LocalStorageAccessWithModuleLayerLauncher.java
- 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
-
- links to
-
Commit(master) openjdk/jfx/ff777c7a
-
Review(master) openjdk/jfx/1743