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

   Commits 58312a4585a1bece2c5849d84e4c4070c08379f2 and 
fb59d759e280f0a23d067e4867bf16873eb425f0 make sense to me.
   
   The commit "Avoid calling Clipboard.add/removeFlavorListener from the Event 
Dispatch Thread [...]" gives me bad vibes 
8c0e3d7188e023dfcfbbd79c07dc9b0f62f5f7083). The one mantra in Swing I learned 
was: You interact with Swing/AWT only from the EDT, unless it is explicitly 
documented, that you can deviate from this rule. I don't see that exception in 
the `Clipboard` class. I can imagine implementations that are prone to races.


-- 
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