-
Bug
-
Resolution: Fixed
-
P3
-
10
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8194622 | 11 | Shashidhara Veerabhadraiah | P3 | Resolved | Fixed | b01 |
JDK-8194787 | 10.0.1 | Shashidhara Veerabhadraiah | P3 | Resolved | Fixed | b01 |
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.
----------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.
- backported by
-
JDK-8194622 [PIT][TEST BUG]: java/awt/FileDialog/MoveToTrashTest.java fails on Linux
-
- Resolved
-
-
JDK-8194787 [PIT][TEST BUG]: java/awt/FileDialog/MoveToTrashTest.java fails on Linux
-
- Resolved
-