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

Incorrect StackTrace in IOException thrown from ClipboardTransferable

    XMLWordPrintable

Details

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

    Description

      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)

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: