-
Bug
-
Resolution: Fixed
-
P4
-
jfx11, 8
-
b01
-
os_x
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8336791 | jfx23.0.1 | Kevin Rushforth | P4 | Resolved | Fixed | b01 |
JDK-8336750 | jfx23 | Kevin Rushforth | P4 | Resolved | Fixed | b27 |
1. Run the HelloFullscreen program (in apps/toys/Hello)
2. Press the "Exit" button
The program will exit with a 0 status, but the following exception will be printed in the console:
Exception in thread "JavaFX Application Thread" java.lang.IllegalStateException: Not on FX application thread; currentThread = JavaFX Application Thread
at javafx.graphics@20-internal/com.sun.javafx.tk.Toolkit.checkFxUserThread(Toolkit.java:294)
at javafx.graphics@20-internal/com.sun.javafx.tk.quantum.QuantumToolkit.checkFxUserThread(QuantumToolkit.java:475)
at javafx.graphics@20-internal/javafx.stage.Window.setShowing(Window.java:1238)
at javafx.graphics@20-internal/javafx.stage.Window.hide(Window.java:1264)
at javafx.graphics@20-internal/com.sun.javafx.stage.WindowPeerListener.closed(WindowPeerListener.java:112)
at javafx.graphics@20-internal/com.sun.javafx.tk.quantum.GlassWindowEventHandler.run(GlassWindowEventHandler.java:144)
at javafx.graphics@20-internal/com.sun.javafx.tk.quantum.GlassWindowEventHandler.run(GlassWindowEventHandler.java:40)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
at javafx.graphics@20-internal/com.sun.javafx.tk.quantum.GlassWindowEventHandler.lambda$handleWindowEvent$4(GlassWindowEventHandler.java:178)
at javafx.graphics@20-internal/com.sun.javafx.tk.quantum.QuantumToolkit.runWithoutRenderLock(QuantumToolkit.java:424)
at javafx.graphics@20-internal/com.sun.javafx.tk.quantum.GlassWindowEventHandler.handleWindowEvent(GlassWindowEventHandler.java:176)
at javafx.graphics@20-internal/com.sun.glass.ui.Window.handleWindowEvent(Window.java:1247)
at javafx.graphics@20-internal/com.sun.glass.ui.Window.notifyDestroy(Window.java:1161)
This does not happen on other platforms or on earlier versions of macOS.
- backported by
-
JDK-8336750 ISE if Platform::exit called with fullScreen Stage on macOS 13
- Resolved
-
JDK-8336791 ISE if Platform::exit called with fullScreen Stage on macOS 13
- Resolved
- relates to
-
JDK-8336476 Possible race condition accessing the singleton Application instance
- Open
-
JDK-8335630 Crash if Platform::exit called with fullScreen Stage on macOS 14
- Resolved
- links to
-
Commit(jfx23) openjdk/jfx/d9780548
-
Commit(master) openjdk/jfx/81f11c4a
-
Review(jfx23) openjdk/jfx/1511
-
Review(master) openjdk/jfx/1506