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

Brian Burkhalter bpb at openjdk.org
Mon Jan 12 20:57:27 UTC 2026


On Mon, 12 Jan 2026 12:53:12 GMT, Alan Bateman <alanb at openjdk.org> wrote:

>> 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
>
> src/java.base/share/classes/java/nio/file/SecureDirectoryStream.java line 205:
> 
>> 203:      *          the name of the file to move
>> 204:      * @param   targetdir
>> 205:      *          the destination directory
> 
> The proposed spec looks okay I think you can add "can be null" to the `@param description to make it clear in the parameter description too.

Updated in 7c21d87.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/27178#discussion_r2683875175


More information about the nio-dev mailing list