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.