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

[PIT][TEST BUG]: java/awt/FileDialog/MoveToTrashTest.java fails on Linux

XMLWordPrintable

    • 10
    • b38

        java/awt/FileDialog/MoveToTrashTest.java fails on Linux :

        ----------System.err:(15/1119)----------
        java.lang.UnsupportedOperationException: The MOVE_TO_TRASH action is not supported on the current platform!
        at java.desktop/java.awt.Desktop.checkActionSupport(Desktop.java:383)
        at java.desktop/java.awt.Desktop.moveToTrash(Desktop.java:1056)
        at MoveToTrashTest.main(MoveToTrashTest.java:53)
        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:564)
        at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:115)
        at java.base/java.lang.Thread.run(Thread.java:844)

        JavaTest Message: Test threw exception: java.lang.UnsupportedOperationException: The MOVE_TO_TRASH action is not supported on the current platform!
        JavaTest Message: shutting down test

        STATUS:Failed.`main' threw exception: java.lang.UnsupportedOperationException: The MOVE_TO_TRASH action is not supported on the current platform!
        ----------rerun:(23/1467)*----------

        This test was introduced by the fix for
        https://bugs.openjdk.java.net/browse/JDK-8190515
        and it appears the test was never run on Linux.

              sveerabhadra Shashidhara Veerabhadraiah (Inactive)
              prr Philip Race
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: