RFR: 8360028: (fs) Path.relativize throws StringIndexOutOfBoundsException (win)

Alan Bateman alanb at openjdk.org
Wed Jul 2 08:33:43 UTC 2025


On Tue, 1 Jul 2025 22:44:07 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:

> modifying WindowsFileSystemProvider.readSymbolicLink to normalize the path string obtained from the link before creating the WindowsPath.

If the link target can contain redundant slashes then it will need to be normalized so I think we may have do this anyway.

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

PR Comment: https://git.openjdk.org/jdk/pull/26080#issuecomment-3026951198


More information about the nio-dev mailing list