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

Brian Burkhalter bpb at openjdk.org
Fri Sep 8 23:19:38 UTC 2023


On Fri, 8 Sep 2023 10:00:42 GMT, Alan Bateman <alanb at openjdk.org> wrote:

> The two cases that I'm wondering about are `\\\?\` and `\\\?\\UNC`.

Both of these cases throw an IOE with message "Bad pathname" for `getCanonicalPath()` and `getParentFile().getCanonicalPath()` with both the mainline and with this change.

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

PR Comment: https://git.openjdk.org/jdk/pull/15603#issuecomment-1712327678


More information about the core-libs-dev mailing list