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

Brian Burkhalter bpb at openjdk.org
Fri Nov 7 21:37:34 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.

It was found in testing on the node where the failure was observed, that the test `FileStore/Basic.java` continued to fail without this change, but succeeded with it.

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

PR Comment: https://git.openjdk.org/jdk/pull/28205#issuecomment-3505071718


More information about the nio-dev mailing list