RFR: 8356493: (fs) SecureDirectoryStream missing some capabilities [v2]
Benjamin Peterson
duke at openjdk.org
Thu Sep 4 04:53:45 UTC 2025
On Wed, 3 Sep 2025 17:12:31 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:
>> 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.
For what it's worth, as the author of JDK-8356493, I would use `createLink`.
Maybe the usability of simple cases would be improved by a `createLink(T link, T target)` overload (that passed `olddirfd=AT_FDCWD` to the underlying syscall)?
I think this may also need a `LinkOption` flag to pass `AT_FOLLOW_SYMLINKS`?
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/26950#discussion_r2320820004
More information about the nio-dev
mailing list