Integrated: 8356606: (fs) PosixFileAttributes.permissions() implementations should return an EnumSet

Brian Burkhalter bpb at openjdk.org
Mon May 12 16:50:59 UTC 2025


On Fri, 9 May 2025 22:48:11 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:

> Drop-in replacement in `sun.nio.fs.UnixFileAttributes::permissions` of `HashSet` with `EnumSet` for hopefully improved efficiency. All tests containing `PosixFileAttributes` passed.

This pull request has now been integrated.

Changeset: 8d7866ef
Author:    Brian Burkhalter <bpb at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/8d7866ef5fbf98eae6f30c4a6199a0e709f445a5
Stats:     3 lines in 1 file changed: 0 ins; 0 del; 3 mod

8356606: (fs) PosixFileAttributes.permissions() implementations should return an EnumSet

Reviewed-by: liach, alanb

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

PR: https://git.openjdk.org/jdk/pull/25162


More information about the nio-dev mailing list