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

Incorrect StackTrace in IOException thrown from ClipboardTransferable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: client-libs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      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

              • 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: