-
Bug
-
Resolution: Fixed
-
P4
-
9
-
b71
-
generic
-
windows
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8135937 | emb-9 | Brian Burkhalter | P4 | Resolved | Fixed | team |
JDK-8309718 | 8u391 | kiran kumar J | P4 | Resolved | Fixed | b01 |
This happened on Windows 7 X86. java.nio.file.FileAlreadyExistsException was thrown when trying to move files.
Please refer to the following test output:
----------System.err:(20/1585)*----------
java.nio.file.FileAlreadyExistsException: C:\\Users\\AURORA~1.SC1\\AppData\\Local\\Temp\\name3300389595325988396\\sourcedir-2002621301 -> .\\name221331787958862067\\target493586993
at sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:81)
at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:97)
at sun.nio.fs.WindowsFileCopy.move(WindowsFileCopy.java:387)
at sun.nio.fs.WindowsFileSystemProvider.move(WindowsFileSystemProvider.java:287)
at java.nio.file.Files.move(Files.java:1395)
at CopyAndMove.moveAndVerify(CopyAndMove.java:197)
at CopyAndMove.testMove(CopyAndMove.java:408)
at CopyAndMove.main(CopyAndMove.java:67)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:502)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:92)
at java.lang.Thread.run(Thread.java:745)
JavaTest Message: Test threw exception: java.nio.file.FileAlreadyExistsException: C:\\Users\\AURORA~1.SC1\\AppData\\Local\\Temp\\name3300389595325988396\\sourcedir-2002621301 -> .\\name221331787958862067\\target493586993
JavaTest Message: shutting down test
Please refer to the following test output:
----------System.err:(20/1585)*----------
java.nio.file.FileAlreadyExistsException: C:\\Users\\AURORA~1.SC1\\AppData\\Local\\Temp\\name3300389595325988396\\sourcedir-2002621301 -> .\\name221331787958862067\\target493586993
at sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:81)
at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:97)
at sun.nio.fs.WindowsFileCopy.move(WindowsFileCopy.java:387)
at sun.nio.fs.WindowsFileSystemProvider.move(WindowsFileSystemProvider.java:287)
at java.nio.file.Files.move(Files.java:1395)
at CopyAndMove.moveAndVerify(CopyAndMove.java:197)
at CopyAndMove.testMove(CopyAndMove.java:408)
at CopyAndMove.main(CopyAndMove.java:67)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:502)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:92)
at java.lang.Thread.run(Thread.java:745)
JavaTest Message: Test threw exception: java.nio.file.FileAlreadyExistsException: C:\\Users\\AURORA~1.SC1\\AppData\\Local\\Temp\\name3300389595325988396\\sourcedir-2002621301 -> .\\name221331787958862067\\target493586993
JavaTest Message: shutting down test
- backported by
-
JDK-8135937 java/nio/file/Files/CopyAndMove.java failed with java.nio.file.FileAlreadyExistsException intermittently
-
- Resolved
-
-
JDK-8309718 java/nio/file/Files/CopyAndMove.java failed with java.nio.file.FileAlreadyExistsException intermittently
-
- Resolved
-
- relates to
-
JDK-8114830 (fs) Files.copy fails due to interference from something else changing the file system
-
- Closed
-