RFR: 8356127: (fs) UnixFileSystemProvider.implDelete could save a syscall in some cases [v3]
Brian Burkhalter
bpb at openjdk.org
Fri May 9 16:46:09 UTC 2025
On Fri, 9 May 2025 06:41:19 GMT, Alan Bateman <alanb at openjdk.org> wrote:
>> I think line 260 was an artifact of the previous commit. I will remove it tomorrow.
>
> It might be worth digging into how this works in NFS environments. If a program on Linux attempts to unlink a directory on a NFS mount, will this reliable get the EISDIR error?
> If unlink fails (not EISDIR) then shouldn't we just throw the error?
Fixed in e1b8861.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/25107#discussion_r2082088363
More information about the nio-dev
mailing list