RFR: 8298478: (fs) Path.of should allow input to include long path prefix [v3]

Alan Bateman alanb at openjdk.org
Tue Feb 7 18:45:30 UTC 2023


On Tue, 7 Feb 2023 18:02:55 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:

>> Remove the long path `\?` or `\?\UNC` prefix before creating the `WindowsPath` instance..
>
> Brian Burkhalter has updated the pull request incrementally with one additional commit since the last revision:
> 
>   8298478: Address reviewer comments

test/jdk/java/nio/file/Path/PathOps.java line 1466:

> 1464:         test("\\\\?\\UNC")                                    // empty
> 1465:             .invalid();
> 1466:         test("\\\\?\\UNC\\")                                    // empty

The comment on this line isn't aligned with the other but the updated list of test cases looks good/complete.

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

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


More information about the nio-dev mailing list