Integrated: 8259865: (fs) test/jdk/java/nio/file/attribute/UserDefinedFileAttributeView/Basic.java failing on macOS 10.13

Alan Bateman alanb at openjdk.java.net
Sun Jan 17 18:16:36 UTC 2021


On Sun, 17 Jan 2021 08:24:54 GMT, Alan Bateman <alanb at openjdk.org> wrote:

> This is a workaround to a bug in fgetxattr(2) on macOS 10.13.6 with APFS where it doesn't return -1/ERANGE when the buffer is too small.  This bug leads to UserDefinedFileAttributeView/Basic.java failing on macOS 10.13 systems, the test is passing on 10.14 and 10.15. The change just means that FileStore.supportsFileAttributeView will return false when asked if it supports UserDefinedFileAttributeView.class.

This pull request has now been integrated.

Changeset: 5f2e280c
Author:    Alan Bateman <alanb at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/5f2e280c
Stats:     22 lines in 1 file changed: 18 ins; 0 del; 4 mod

8259865: (fs) test/jdk/java/nio/file/attribute/UserDefinedFileAttributeView/Basic.java failing on macOS 10.13

Reviewed-by: dcubed

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

PR: https://git.openjdk.java.net/jdk/pull/2112


More information about the nio-dev mailing list