RFR: 8003887: File.getCanonicalFile() does not resolve symlinks on MS Windows [v3]
Brian Burkhalter
bpb at openjdk.org
Tue Sep 3 21:50:32 UTC 2024
On Tue, 3 Sep 2024 18:45:36 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:
>> Return the final path derived from the string returned by `canonicalize0()`.
>
> Brian Burkhalter has updated the pull request incrementally with one additional commit since the last revision:
>
> 8003887: If getFinalPath() fails, return the string returned by canonicalize0()
With respect to the test update in 44bed9f, on Windows with link creation privilege, the three new sub-tests fail without the proposed patch applied, but succeed with it applied. On Windows without link creation privilege, the three new sub-tests simply return. On Unix, the new sub-tests pass.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/20801#issuecomment-2327498955
More information about the core-libs-dev
mailing list