RFR: 8355342: File.getCanonicalPath on Java 24 resolves paths on network drives to UNC format [v4]

Alan Bateman alanb at openjdk.org
Tue Sep 23 06:42:34 UTC 2025


On Mon, 22 Sep 2025 22:44:34 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:

> Path.of("Z:\link").toRealPath() throws an exception on the Windows host where Z: is mapped to a remote drive on a Mac host via Samba:

I assume "link" is a sym link. I haven't configured SAMBA in a while but isn't there a config setting the smb.conf that controls this?

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

PR Comment: https://git.openjdk.org/jdk/pull/27324#issuecomment-3322625260


More information about the core-libs-dev mailing list