RFR: 8367284: (fs) Support current working directory target in SecureDirectoryStream.move [v2]
Brian Burkhalter
bpb at openjdk.org
Mon Jan 12 20:57:24 UTC 2026
> 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.
Brian Burkhalter has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains four additional commits since the last revision:
- 8367284: Update targetdir param verbiage to allow null
- Merge
- 8367284: Update test after all
- 8367284: (fs) Support current working directory target in SecureDirectoryStream.move
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/27178/files
- new: https://git.openjdk.org/jdk/pull/27178/files/5eeb5873..7c21d87e
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=27178&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=27178&range=00-01
Stats: 639253 lines in 8209 files changed: 433573 ins; 122979 del; 82701 mod
Patch: https://git.openjdk.org/jdk/pull/27178.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/27178/head:pull/27178
PR: https://git.openjdk.org/jdk/pull/27178
More information about the nio-dev
mailing list