On Wed, 6 Sep 2023 21:38:39 GMT, Brian Burkhalter <b...@openjdk.org> wrote:
> In the Windows implementation of java.io.File.getCanonicalPath, strip any > long path or UNC prefix before canonicalizing the remainder of the pathname. Would it be possible to summarise how this behaves when File just presents this prefix? It would be a weird thing to do but it may come about from usages of getParent or other methods. I think I'm mostly asking if is possible for the method to return the canonical path of the current directory when it should fail. ------------- PR Comment: https://git.openjdk.org/jdk/pull/15603#issuecomment-1709709146