Hi, Alexander. The fix looks good. Please file a separate RFE to investigate possibility of splitting dispatchEvent in XToolkit to a dispatch w/ awtlock and w/o awtlock.
----- alexander.zvegint...@oracle.com wrote: > Hello, > > please review the fix > http://cr.openjdk.java.net/~azvegint/jdk/9/7155963/00/ > for the issue > https://bugs.openjdk.java.net/browse/JDK-7155963 > > SunClipboard.checkChange() does not require an awtLock, so we can safely > release awtLock for this call. > > I've run related tests(including JCK), it works fine. -- Thanks, Alexander.