RFR: 8356493: (fs) SecureDirectoryStream missing some capabilities [v2]
Brian Burkhalter
bpb at openjdk.org
Wed Sep 3 17:14:43 UTC 2025
On Tue, 2 Sep 2025 18:37:32 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:
>> src/java.base/share/classes/java/nio/file/SecureDirectoryStream.java line 250:
>>
>>> 248: */
>>> 249: Path createLink(T link, SecureDirectoryStream<T> targetdir, T existing)
>>> 250: throws IOException;
>>
>> I realize this models a pair of dfd/path tuples and mklinkat but I wonder about the usability and whether we really need this. In other, maybe we should drop this method from the proposal for now.
>
> Could do, but left in for the moment.
>> [...] maybe we should drop this method [`createLink`] from the proposal for now.
>
> Could do, but left in for the moment.
It could be moved to a separate issue to be addressed later, or not. I'd prefer to leave it in until there is agreement on the rest of the request, and drop it just before filing the CSR.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/26950#discussion_r2319656937
More information about the nio-dev
mailing list