RFR: 8368633: (fs) Path.toRealPath(NOFOLLOW_LINKS) very slow on macOS
Alan Bateman
alanb at openjdk.org
Thu Oct 9 19:06:29 UTC 2025
On Thu, 9 Oct 2025 16:13:54 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:
> My thinking was that if equalsIgnoreCase == false then the file keys cannot be equal so there is no point checking them.
The encode + decode may may not be a perfect round trip so I don't think this would hold. I think the only safe approach is to compareTo with the byte representation, if they are not equal then need to stat to get the fileKey.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/27709#discussion_r2417713632
More information about the nio-dev
mailing list