matthiasblaesing commented on PR #7668:
URL: https://github.com/apache/netbeans/pull/7668#issuecomment-2313266984

   @eirikbakke I'm aware, that there is already a threading violation in 
NbClipboard. My concern is, that that is the reason for #3962. And my concern 
is also not what happens on the NetBeans side of the Clipboard, but what 
happens on the way from NetBeans layer, through AWT to native. In the end 
`setContent` and `getContent` at some point reach the native layer. That native 
layer might make assumptions about which threads it might get calls from. AWTs 
"every allowed interaction comes from the EDT" makes it easy to reason about 
this from the native side, it just breaks down when people ignore the mantra.
   
   I saw a window message loop inside AWT and if I remember correctly I 
diagnosed a problem in AWT once that related to the threading assumption of the 
COM calls inside the AWT.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to