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

java/awt/datatransfer/ConstructFlavoredObjectTest/ConstructFlavoredObjectTest.java throws UnsupportedFlavorException on Linux

    Details

      Description

      java/awt/datatransfer/ConstructFlavoredObjectTest/ConstructFlavoredObjectTest.java throws below exception when run on Linux.
      It does pass on Windows and Mac.

      java.awt.datatransfer.UnsupportedFlavorException: text/plain
              at java.desktop/sun.awt.datatransfer.SunClipboard.getData(SunClipboard.java:215)
              at ConstructFlavoredObjectTest.main(ConstructFlavoredObjectTest.java:80)
              at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
              at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.base/java.lang.reflect.Method.invoke(Method.java:537)
              at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110)
              at java.base/java.lang.Thread.run(Thread.java:844)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                aghaisas Ajit Ghaisas
                Reporter:
                aghaisas Ajit Ghaisas
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: