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

Clipboard should post notifications without using the EventQueue.invokeLater

    Details

    • Type: Enhancement
    • Status: Closed
    • Priority: P3
    • Resolution: Duplicate
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: client-libs
    • Labels:

      Description

      The Clipboard object is a simple container to hold the Transferable. Currently its posting notifications using invokeLater. This should be removed and notifications should be posted in place, because
      1. In JDK the Clipboard is used directly only as a Swing sandbox Clipboard where the content is set on the EDT anyway.
      2. There's no way to provide the Clipboard as a system clipboard and SunClipboard overrides the setContents method.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                pchelko Petr Pchelko (Inactive)
                Reporter:
                pchelko Petr Pchelko (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: