RFR: 8357425: (fs) SecureDirectoryStream setPermissions should use fchmodat

Brian Burkhalter bpb at openjdk.org
Fri May 30 16:52:54 UTC 2025


On Fri, 30 May 2025 05:34:30 GMT, Alan Bateman <alanb at openjdk.org> wrote:

> If you adds`int mode = UnixFileModeAttribute.toUnixMode(perms)` then it would avoid the repeated code and avoid the line splits, just makes it easier to read.

Agreed.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/25534#discussion_r2116255936


More information about the nio-dev mailing list