RFR: 8287843: File::getCanonicalFile doesn't work for \?\C:\ style paths DOS device paths [v3]
Brian Burkhalter
bpb at openjdk.org
Wed Sep 20 20:22:39 UTC 2023
On Wed, 20 Sep 2023 18:10:17 GMT, Brian Burkhalter <bpb at 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.
>
> Brian Burkhalter has updated the pull request incrementally with one additional commit since the last revision:
>
> 8287843: Move \\?\ prefix stripping to resolve(File)
It might be that the long prefix needs to be stripped local to several different methods. Will investigate.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/15603#issuecomment-1728370663
More information about the core-libs-dev
mailing list