It looks like renameTo on Windows is not necessarily atomic, in particular
if the destination file exists there can be problems. MoveFileEx is
supposedly the way to go and should give better results.
if the destination file exists there can be problems. MoveFileEx is
supposedly the way to go and should give better results.
- duplicates
-
JDK-4313887 New I/O: Improved filesystem interface
-
- Resolved
-