RFR: 8287843: File::getCanonicalFile doesn't work for \?\C:\ style paths DOS device paths [v2]
Brian Burkhalter
bpb at openjdk.org
Mon Sep 11 15:51:43 UTC 2023
On Fri, 8 Sep 2023 01:07: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: Handle "\\?\UNC"; add bad paths to test
> For input such as `\\\?\\foo` and `\\\?\\C:`, [...]
>
> For `\\\?\\UNC` and `\\\?\\UNC\`, [...]
I will look into these cases.
The current patch passes all tier 1-3 tests in the CI pipeline.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/15603#issuecomment-1714152747
More information about the core-libs-dev
mailing list