RFR: 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 08:32:41 UTC 2021
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.
-------------
Commit messages:
- 8259865: (fs) test/jdk/java/nio/file/attribute/UserDefinedFileAttributeView/Basic.java failing on macOS 10.13
Changes: https://git.openjdk.java.net/jdk/pull/2112/files
Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=2112&range=00
Issue: https://bugs.openjdk.java.net/browse/JDK-8259865
Stats: 22 lines in 1 file changed: 18 ins; 0 del; 4 mod
Patch: https://git.openjdk.java.net/jdk/pull/2112.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/2112/head:pull/2112
PR: https://git.openjdk.java.net/jdk/pull/2112
More information about the nio-dev
mailing list