RFR: 8114830: (fs) Files.copy fails due to interference from something else changing the file system [v6]
Brian Burkhalter
bpb at openjdk.org
Wed Aug 9 16:28:05 UTC 2023
On Wed, 9 Aug 2023 05:28:19 GMT, Vyom Tewari <vtewari at openjdk.org> wrote:
>> Brian Burkhalter has updated the pull request incrementally with one additional commit since the last revision:
>>
>> 8114830: Minor CopyTask cleanup
>
> src/java.base/unix/classes/sun/nio/fs/UnixFileSystem.java line 672:
>
>> 670: } catch (UnixException x) {
>> 671: if (x.errno() == EEXIST && flags.replaceExisting)
>> 672: throw new FileSystemException(toString());
>
> do you mean 'target.toString()' ?
Yes. Thanks for the catch. Fixed in a1bbd219f7b40fb8891c0a4984b6934a3305e32e.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/15141#discussion_r1288832620
More information about the nio-dev
mailing list