RFR: 8262742: (fs) Add Path::resolve with varargs string [v8]

Roger Riggs rriggs at openjdk.org
Wed Jul 19 15:56:54 UTC 2023


On Tue, 18 Jul 2023 16:46:45 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:

>> Add to `java.nio.file.Path` methods which allow resolution of multiple descendants.
>
> Brian Burkhalter has updated the pull request incrementally with one additional commit since the last revision:
> 
>   8262742: Further refine specifications of varargs resolve methods

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

> 193:             others[i++] = Path.of(s);
> 194:         }
> 195:         check(path.resolve(Path.of(first), others), expected);

This looks like it tests only the new method with Path elements.
Are there tests for the new default method that accepts String.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/14805#discussion_r1268283719


More information about the nio-dev mailing list