<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">The fix looks good.<br>
I recall that checkPasteboard can be used outside of awt in fx.
Anton T. can clarify this.<br>
<br>
26.03.15 20:32, Anton Nashatyrev wrote:<br>
</div>
<blockquote cite="mid:551442C0.8080109@oracle.com" type="cite">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
Hi Sergey,<br>
<br>
yes it looks like I've missed the notifyChanged.<br>
you are right, this will remove the unnecessary AWT upcall
from Toolkit thread (was it your intention?)<br>
<br>
Please take a look at the new fix version (the test has also been
updated to check flavorsChanged): <br>
<a moz-do-not-send="true"
href="http://cr.openjdk.java.net/%7Eanashaty/8071668/9/webrev.01/">http://cr.openjdk.java.net/~anashaty/8071668/9/webrev.01/</a><br>
<br>
Thanks!<br>
Anton.<br>
<br>
<div class="moz-cite-prefix">On 26.03.2015 18:10, Sergey Bylokhov
wrote:<br>
</div>
<blockquote cite="mid:5514215C.3050002@oracle.com" type="cite">
<meta content="text/html; charset=utf-8"
http-equiv="Content-Type">
<div class="moz-cite-prefix">Hi, Anton.<br>
Should we call CClipboard.notifyChanged when the owner was
changed?(at least CClipboard.checkPasteboard call it). If yes
then it seems that the previous fix(8010925) for this bug can
be reworked in pure java using
<meta http-equiv="content-type" content="text/html;
charset=utf-8">
checkPasteboardWithoutNotification?<br>
<br>
26.03.15 17:29, Anton Nashatyrev wrote:<br>
</div>
<blockquote cite="mid:551417DC.5050908@oracle.com" type="cite">Hello,
<br>
could you please review the following fix: <br>
<br>
fix: <a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://cr.openjdk.java.net/%7Eanashaty/8071668/9/webrev.00/">http://cr.openjdk.java.net/~anashaty/8071668/9/webrev.00/</a>
<a moz-do-not-send="true" class="moz-txt-link-rfc2396E"
href="http://cr.openjdk.java.net/%7Eanashaty/8071668/9/webrev.00/"><http://cr.openjdk.java.net/%7Eanashaty/8071668/9/webrev.00/></a>
<br>
bug: <a moz-do-not-send="true" class="moz-txt-link-freetext"
href="https://bugs.openjdk.java.net/browse/JDK-8071668">https://bugs.openjdk.java.net/browse/JDK-8071668</a>
<br>
<br>
Problem: On Mac Java doesn't see external clipboard
changes. <br>
Fix: since there is still no Cocoa pasteboard changes
notification mechanism, check the Cocoa clipboard counter each
time the contents is requested from the Java Clipboard. <br>
<br>
Thanks! <br>
Anton. <br>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Best regards, Sergey. </pre>
</blockquote>
<br>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Best regards, Sergey. </pre>
</body>
</html>