FULL PRODUCT VERSION :
A DESCRIPTION OF THE PROBLEM :
In SequencedEvent#dispatch, on line 106, CCE occurs if running in single threaded AWT/FX mode, because JavaFX Application Thread is instance of Thread.
Exception in thread "JavaFX Application Thread" java.lang.ClassCastException: ja
va.lang.Thread cannot be cast to java.awt.EventDispatchThread
at java.awt.SequencedEvent.dispatch(SequencedEvent.java:106)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:744)
at java.awt.EventQueue.access$400(EventQueue.java:97)
at java.awt.EventQueue$3$1.run(EventQueue.java:702)
REPRODUCIBILITY :
This bug can be reproduced always.
A DESCRIPTION OF THE PROBLEM :
In SequencedEvent#dispatch, on line 106, CCE occurs if running in single threaded AWT/FX mode, because JavaFX Application Thread is instance of Thread.
Exception in thread "JavaFX Application Thread" java.lang.ClassCastException: ja
va.lang.Thread cannot be cast to java.awt.EventDispatchThread
at java.awt.SequencedEvent.dispatch(SequencedEvent.java:106)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:744)
at java.awt.EventQueue.access$400(EventQueue.java:97)
at java.awt.EventQueue$3$1.run(EventQueue.java:702)
REPRODUCIBILITY :
This bug can be reproduced always.
- duplicates
-
JDK-8088132 [Swing, singleThread] ClassCastException in nested event loop when showing multiple message dialogs in SwingNode
-
- Resolved
-