<AWT Dev> deadlock between AppKit main thread and AWT event thread in JDK 17

Michael Hall mik3hall at gmail.com
Mon Jun 28 14:53:19 UTC 2021

> On Jun 28, 2021, at 9:50 AM, Alan Snyder <javalists at cbfiddle.com> wrote:
> To avoid this deadlock, the run loop name is required when using the NSObject method performSelectorOnMainThread:withObject:waitUntilDone:modes: <https://developer.apple.com/documentation/objectivec/nsobject/1411637-performselectoronmainthread>
> JNF calls this method with the “old” run loop name.

My use was without modes.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/awt-dev/attachments/20210628/7d46880c/attachment-0001.htm>

More information about the awt-dev mailing list