JDK-8006634 : Unify LWCToolkit.invokeAndWait() and sun.awt.datatransfer.ToolkitThreadBlockedHandler
  • Type: Task
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 8
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: os_x
  • CPU: generic
  • Submitted: 2013-01-21
  • Updated: 2015-10-23
  • Resolved: 2013-03-14
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 7 JDK 8
7u40Fixed 8 b82Fixed
Related Reports
Relates :  
Description
There are two mechanisms in AWT to synchronously execute code on EDT from the toolkit thread, but keep the toolkit thread alive (running nested event loop):

sun.awt.datatransfer.ToolkitThreadBlockedHandler - cross-platform interface used in DnD

LWCToolkit.invokeAndWait() - Mac OS X method(s) used in CAccessibility and several other places

These APIs should be either merged, or one rewritten using another.
Comments
http://hg.openjdk.java.net/jdk8/awt/jdk/rev/d502cc7bcc3d
14-03-2013