RFR: 8355342: File.getCanonicalPath on Java 24 resolves paths on network drives to UNC format [v6]
Brian Burkhalter
bpb at openjdk.org
Tue Oct 21 14:57:03 UTC 2025
On Tue, 21 Oct 2025 13:43:44 GMT, Alan Bateman <alanb at openjdk.org> wrote:
> Can you do the same for without the patch? Also I think keep links out of the examples for now [...]
Will do.
Also, I made this statement above:
> the result of getCanonicalPath for Z:\linktonotexist should be NoSuchFileException for both mappings,
I don't think that is the current result without the patch, and on further thought I don't think that the patch should change whatever behavior is currently here. I think that this change should fix only backward compatibility issues caused by #20801.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/27324#issuecomment-3427114763
More information about the core-libs-dev
mailing list