On Wed, 17 Sep 2025 23:15:42 GMT, Brian Burkhalter <[email protected]> wrote:

> where `Z:` is mapped as `net use Z: \\localhost\c$\Temp`, in other words to 
> `C:\Temp`, a similar problem happens with `toRealPath`:
> 
> ```
> jshell> Path.of("Z:\\target.txt").toRealPath()
> $7 ==> Z:\target.txt
> 
> jshell> Path.of("Z:\\link").toRealPath()
> $8 ==> \\localhost\c$\Temp\target.txt
> ```

Are you able to check how it behaves when mapped to a location on different 
host?

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

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

Reply via email to