RFR: 8356493: (fs) SecureDirectoryStream missing some capabilities
Brian Burkhalter
bpb at openjdk.org
Wed Aug 27 00:15:41 UTC 2025
On Wed, 27 Aug 2025 00:07:38 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:
> Add several methods to `java.nio.file.SecureDirectoryStream`.
This request proposes to add methods to `SecureDirectoryStream` to create files, directories, and links, and to read the target of a symbolic link. These methods were not in the original API as the corresponding POSIX `*at` system calls were not available at the time. This is no longer the case as discussed [here](https://bugs.openjdk.org/browse/JDK-8356493?focusedId=14808804&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14808804).
A test is also modified to cover the new methods.
A CSR will be filed if the proposal appears worth pursuing.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/26950#issuecomment-3226194104
More information about the nio-dev
mailing list