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

Brian Burkhalter bpb at openjdk.org
Fri Jul 7 18:58:07 UTC 2023


On Fri, 7 Jul 2023 18:50:14 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:

> Add to `java.nio.file.Path` methods which allow resolution of multiple descendants.

Default methods are added to the `Path` interface and a Unix version is added for the principal `resolve` method using `Path` parameters. The Unix implementation is about 20% faster than the default implementation.

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

PR Comment: https://git.openjdk.org/jdk/pull/14805#issuecomment-1625893207


More information about the nio-dev mailing list