Integrated: 8367284: (fs) Support current working directory target in SecureDirectoryStream.move
Brian Burkhalter
bpb at openjdk.org
Thu Jan 22 16:14:21 UTC 2026
On Tue, 9 Sep 2025 23:04:41 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:
> Change `java.nio.file.SecureDirectoryStream.move` so that, instead of throwing a `NullPointerException` if the `targetdir` parameter is `null`, it considers a non-absolute path passed via `targetpath` as being relative to the current working directory.
This pull request has now been integrated.
Changeset: 07f6617e
Author: Brian Burkhalter <bpb at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/07f6617e0b2752b538b6c43250dd0bb65fd8c695
Stats: 44 lines in 3 files changed: 25 ins; 6 del; 13 mod
8367284: (fs) Support current working directory target in SecureDirectoryStream.move
Reviewed-by: alanb
-------------
PR: https://git.openjdk.org/jdk/pull/27178
More information about the nio-dev
mailing list