RFR: 8357303: (fs) UnixSecureDirectoryStream.implDelete has unused haveFlags parameter

Brian Burkhalter bpb at openjdk.org
Wed May 21 15:36:03 UTC 2025


On Wed, 21 May 2025 15:30:41 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:

> Remove the `haveFlags` parameter of `UnixSecureDirectoryStream.implDelete` and all code which would execute if `haveFlags` were `false`.

Examination of historical versions of `UnixSecureDirectoryStream.java` shows that `haveFlags` was always `true`. The proposed change passes `jdk_nio` tests in the CI.

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

PR Comment: https://git.openjdk.org/jdk/pull/25359#issuecomment-2898391357


More information about the nio-dev mailing list