--- old/src/macosx/classes/sun/lwawt/macosx/CClipboard.java Wed Apr 3 16:28:53 2013 +++ new/src/macosx/classes/sun/lwawt/macosx/CClipboard.java Wed Apr 3 16:28:52 2013 @@ -110,4 +110,12 @@ public native void declareTypes(long[] formats, SunClipboard newOwner); public native void setData(byte[] data, long format); + + /** + * Invokes native check whether a change count on the general pasteboard is different + * than when we set it. The different count value means the current owner lost + * pasteboard ownership and someone else put data on the clipboard. + * @since 1.7 + */ + public native void checkPasteboard(); }