RFR: 8356127: (fs) UnixFileSystemProvider.implDelete could save a syscall in some cases [v3]

Brian Burkhalter bpb at openjdk.org
Fri May 9 06:37:52 UTC 2025


On Fri, 9 May 2025 06:29:04 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:

>> I was trying to emulate what would have happened in the previous implementation where rmdir would have been called if the stat showed a directory at issue.
>
> But on second thought you might be right.

I think line 260 was an artifact of the previous commit. I will remove it tomorrow.

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/25107#discussion_r2081026105


More information about the nio-dev mailing list