<AWT Dev> [10] RFR JDK-8088132:[Swing, singleThread] ClassCastException in nested event loop when showing multiple message dialogs in SwingNode

Sergey Bylokhov sergey.bylokhov at oracle.com
Mon Aug 14 16:37:37 UTC 2017

Hi, Prasanta, Kevin.

I have two notes.
 - Does this option is really supported? If it is supported we should evaluate all usage of EventDispatchThread because in this mode the dispatch thread is not EDT. For example I am not sure that we can skip the code which expects EventDispatchThread.
 - We have the similar pattern: "EventQueue.isDispatchThread() -> cast(EventDispatchThread)" in some other places like in DefaultKeyboardFocusManager.

----- prasanta.sadhukhan at oracle.com wrote:

> Hi All,
> Please review this fix
> http://cr.openjdk.java.net/~psadhukhan/fx/8088132/webrev.00/
> for an fx issue
> https://bugs.openjdk.java.net/browse/JDK-8088132
> More info in JBS.
> Regards
> Prasanta

More information about the awt-dev mailing list