-
Bug
-
Resolution: Duplicate
-
P4
-
None
-
None
-
Linux 64, JDK 1.8.0.05 x64, SWT 4.2.1.
JavaFX state is not properly cleaned after destroying all JavaFX components.
It will result on an exception if you create a new JavaFX component.
Steps to reproduce:
1 - Create a SWT application and add a FXCanvas
2 - Dispose the FXCanvas. The application will no longer have JavaFX components.
3 - Create a new FXCanvas.
4 - The application will throw "java.lang.IllegalStateException: Not on FX application thread"
Problems:
When the last JavaFX component is destroyed, the JavaFX shutsdown and cleans the state, but not properly.
The static fields "initialized" at "com.sun.javafx.application.PlatformImpl" and "application" at "com.sun.glass.ui.Application" stays dirty.
It will result on an exception if you create a new JavaFX component.
Steps to reproduce:
1 - Create a SWT application and add a FXCanvas
2 - Dispose the FXCanvas. The application will no longer have JavaFX components.
3 - Create a new FXCanvas.
4 - The application will throw "java.lang.IllegalStateException: Not on FX application thread"
Problems:
When the last JavaFX component is destroyed, the JavaFX shutsdown and cleans the state, but not properly.
The static fields "initialized" at "com.sun.javafx.application.PlatformImpl" and "application" at "com.sun.glass.ui.Application" stays dirty.
- duplicates
-
JDK-8091247 Quantum toolkit doesn't become alive after shutdown
-
- Closed
-