Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8006634

Unify LWCToolkit.invokeAndWait() and sun.awt.datatransfer.ToolkitThreadBlockedHandler

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b82
    • CPU:
      generic
    • OS:
      os_x

      Backports

        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.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                pchelko Petr Pchelko (Inactive)
                Reporter:
                art Artem Ananiev
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: