diff options
author | Håkon Hallingstad <hakon@verizonmedia.com> | 2019-10-08 09:21:56 +0200 |
---|---|---|
committer | Håkon Hallingstad <hakon@verizonmedia.com> | 2019-10-08 09:21:56 +0200 |
commit | 0b8ab807832e8e18e2762caefd76e366fc17e5ab (patch) | |
tree | e2956d4d58e2f6bd39d860b4411739c080bc79ea /jdisc_http_service | |
parent | 09a59e25ad2bc2b1e378c8e059e2a8be80f0aac5 (diff) |
Add REPLACE_EXISTING for atomic moves
If the destination file exists for an atomic move, then JimFs throws a
java.nio.file.FileAlreadyExistsException exception. The documentation for
Files.move() says "all other options are ignored" with ATOMIC_MOVE, so this
seems to be a bug with JimFs. UnixFileSystemProvider correctly ignores other
options with ATOMIC_MOVE.
Diffstat (limited to 'jdisc_http_service')
0 files changed, 0 insertions, 0 deletions