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

Brian Burkhalter bpb at openjdk.org
Wed Jul 2 23:42:38 UTC 2025


On Wed, 2 Jul 2025 23:39:17 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:

>> Ignore empty name elements in `WindowsPath.normalize()`.
>
> Brian Burkhalter has updated the pull request incrementally with one additional commit since the last revision:
> 
>   8360028: Returned normalized string from WindowsLinkSupport.readLinkImpl

Commit 86912f3 normalizes the link target path string before returning from `WindowsLinkSupport.readLinkImpl`. This change alone without the prior commit ea30eaf would resolve the issue at hand.

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

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


More information about the nio-dev mailing list