Integrated: 8287843: File::getCanonicalFile doesn't work for \\?\C:\ style paths DOS device paths

Brian Burkhalter bpb at openjdk.org
Tue Nov 14 18:04:44 UTC 2023


On Wed, 6 Sep 2023 21:38:39 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.

This pull request has now been integrated.

Changeset: 12fce4b7
Author:    Brian Burkhalter <bpb at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/12fce4b715f2c8b0091f5c229fcc3e3707290489
Stats:     309 lines in 5 files changed: 223 ins; 14 del; 72 mod

8287843: File::getCanonicalFile doesn't work for \\?\C:\ style paths DOS device paths

Reviewed-by: alanb

-------------

PR: https://git.openjdk.org/jdk/pull/15603


More information about the core-libs-dev mailing list