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

Incorrect StackTrace in IOException thrown from ClipboardTransferable

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 9
    • 9
    • client-libs
    • b22

      The exception stack trace is incorrect as exception is saved and then thrower from a different place.

      java.io.IOException: system clipboard data unavailable
      at sun.awt.windows.WClipboard.getClipboardData(Native Method)
      at sun.awt.datatransfer.ClipboardTransferable.fetchOneFlavor(ClipboardTransferable.java:118)
      at sun.awt.datatransfer.ClipboardTransferable.<init>(ClipboardTransferable.java:97)
      at sun.awt.datatransfer.SunClipboard.getContents(SunClipboard.java:147)

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

              Created:
              Updated:
              Resolved: