Integrated: 8371436: (fs) java/nio/file/FileStore/Basic.java fails on macOS platform due to assertTrue(!store.equals(prev));

Brian Burkhalter bpb at openjdk.org
Thu Nov 13 19:02:28 UTC 2025


On Fri, 7 Nov 2025 21:30:22 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:

> In `BsdNativeDispatcher.fsstatEntry()`, initialize the `UnixMountEntry` field `dev`, which propagates to `UnixFileStore` and is used in the latter's `equals` method, which `BsdFileStore` does not override.

This pull request has now been integrated.

Changeset: db3a8386
Author:    Brian Burkhalter <bpb at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/db3a8386d482c161c45fae1689826bd53709f11f
Stats:     11 lines in 1 file changed: 10 ins; 0 del; 1 mod

8371436: (fs) java/nio/file/FileStore/Basic.java fails on macOS platform due to assertTrue(!store.equals(prev));

Reviewed-by: alanb

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

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


More information about the nio-dev mailing list