<AWT Dev> [9] Review Request: JDK-8039377 Clipboard should post notifications without using the EventQueue.invokeLater

Petr Pchelko petr.pchelko at oracle.com
Mon Apr 7 13:16:33 UTC 2014

Hello, AWT Team.

Please review the fix for the issue:
The fix is here:

The problem: Clipboard depend on the EventQueue. The solution - remove the invokeLater. The Clipboard object is used only as a Swing sandbox clipboard which is used from the EDT. 
The user can't use in as the System clipboard, so there's no worries about the callback being executed on some privileged thread. So we can simply remove the invokeLater here.

With best regards. Petr.

More information about the awt-dev mailing list