<AWT Dev> [9] Review request for 8051857: OperationTimedOut exception inside from XToolkit.syncNativeQueue call

Alexander Zvegintsev alexander.zvegintsev at oracle.com
Tue Sep 23 11:48:41 UTC 2014


Hello,

please review the fix
http://cr.openjdk.java.net/~azvegint/jdk/9/8051857/00/
for the issue
https://bugs.openjdk.java.net/browse/JDK-8051857

We have XNextSecondaryLoopEvent() which blocks all events processing 
except of this specific types:
PropertyNotify, SelectionClear, SelectionNotify.

Before the JDK-7033533 [1] fix, syncNativeQueue() used a 
SelectionNotify, but now we are using ConfigureNotify.
This leads to a situation when syncNativeQueue() called on EventQueue 
thread waiting for ConfigureNotify from XAWT thread,
and DataTransferer.convertData() called on XAWT thread waiting event 
processing on the EventQueue thread.
Here it is our OperationTimedOut exception.

So the fix is simply to allow to process this ConfigureNotify event.

JDK-7033533 and this fix should be backported to 8u40 to support 
realSync() on OEL7.

[1] https://bugs.openjdk.java.net/browse/JDK-7033533 realSync() doesn't 
work with Xfce

-- 
Thanks,

Alexander.



More information about the awt-dev mailing list