<AWT Dev> <Awt Dev> [9] Review Request for 8132664: closed/javax/swing/DataTransfer/DefaultNoDrop/DefaultNoDrop.java locks on Windows

Semyon Sadetsky semyon.sadetsky at oracle.com
Mon Aug 3 14:26:45 UTC 2015


Please review fix for JDK9:

bug: https://bugs.openjdk.java.net/browse/JDK-8132664
webrev: http://cr.openjdk.java.net/~ssadetsky/8132664/webrev.00/

DoDragDrop() is blocking, so upon drag operation is triggered the 
toolkit thread is blocked and the WM_AWT_WAIT cannot be processed which 
in its turn blocks the AWT robot.
The solution is to escape AWT robot waiting in syncNativeQueue() if drag 
operation is in progress.


More information about the awt-dev mailing list