Details
-
Bug
-
Resolution: Fixed
-
P3
-
7u6
-
Windows 7, Java7u5, JavaFX SDK 2.2.0 b18
Description
When we try to run a JavaFX FXML application embedded as applet, it fails because of a RuntimeException.
javafx.fxml.FXML loader's private HashMap<String, Field> getControllerFields() throws LoadException;
method throws a SecurityAcception while calling getDeclaredFields method of the controller class.
Developers should be able to embed their JavaFX FXML applications GUI's without signing their jars.
One possible solution is to call getFields method instead of calling getDeclaredFields. Developers can declare controller fields as public.
javafx.fxml.FXML loader's private HashMap<String, Field> getControllerFields() throws LoadException;
method throws a SecurityAcception while calling getDeclaredFields method of the controller class.
Developers should be able to embed their JavaFX FXML applications GUI's without signing their jars.
One possible solution is to call getFields method instead of calling getDeclaredFields. Developers can declare controller fields as public.
Attachments
Issue Links
- duplicates
-
JDK-8123640 FXML doesn't work in applet mode
- Resolved
- is blocked by
-
JDK-8091203 FXML should support usage of @FXML annotation even in unsigned contexts
- Closed
- relates to
-
JDK-8122052 [Regression] As of b115 ListView of SceneBuilder Import dialog is broken
- Resolved
-
JDK-8117109 FXMLLoader throws " java.lang.InternalError: CallerSensitive annotation expected at frame 1 "
- Closed