RFR: 8367284: (fs) Support current working directory target in SecureDirectoryStream.move

Brian Burkhalter bpb at openjdk.org
Tue Sep 9 23:23:47 UTC 2025


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 change has a minor collision with #26950.

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

PR Comment: https://git.openjdk.org/jdk/pull/27178#issuecomment-3272556349


More information about the nio-dev mailing list