On Mon, 20 Oct 2025 20:56:16 GMT, Brian Burkhalter <[email protected]> wrote:
> In the following [...] In the above tables, I think that - the result of `getCanonicalPath` for `Z:\linktonotexist` should be `NoSuchFileException` for both mappings, - the result of `toRealPath` for `Z:\linktofile` should be `Z:\file.txt` for both mappings (*), and - the result of `toRealPath` for `Z:\linktonotexist` with remote mapping should be `NoSuchFileException` (map error 1921 to error 3, `ERROR_PATH_NOT_FOUND`). (*) In separate testing, falling back to `WindowsLinkSupport.resolveAllLinks` when `WindowsLinkSupport.getFinalPath` fails, yields the desired output from `toRealPath`. ------------- PR Comment: https://git.openjdk.org/jdk/pull/27324#issuecomment-3423852891
