RFR: 8298478: (fs) Path.of should allow input to include long path prefix [v3]
Brian Burkhalter
bpb at openjdk.org
Tue Feb 7 18:22:58 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
src/java.base/windows/classes/sun/nio/fs/WindowsPathParser.java line 164:
> 162: }
> 163:
> 164: if (type != expectedType) {
Maybe this should also have `expectedType != null` either before of after the existing check?
-------------
PR: https://git.openjdk.org/jdk/pull/12423
More information about the nio-dev
mailing list