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

java/nio/file/Files/CopyAndMove.java: Test threw exception: java.lang.RuntimeException: AtomicMoveNotSupportedException expected

XMLWordPrintable

      We only see the test is failing on windows, 32 and 64-bit.


      ----------System.err:(16/1085)*----------
      dir1: c:\\...\\tmp\\name16731844621386841087 (NTFS)
      dir2: .\\name820519025815826170 (NTFS)
      java.lang.RuntimeException: AtomicMoveNotSupportedException expected
      at CopyAndMove.testMove(CopyAndMove.java:369)
      at CopyAndMove.main(CopyAndMove.java:74)
      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:567)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
      at java.base/java.lang.Thread.run(Thread.java:835)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: AtomicMoveNotSupportedException expected
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.RuntimeException: AtomicMoveNotSupportedException expected

            bpb Brian Burkhalter
            goetz Goetz Lindenmaier
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: