RFR: 8259865: (fs) test/jdk/java/nio/file/attribute/UserDefinedFileAttributeView/Basic.java failing on macOS 10.13
Sebastian Stenzel
sebastian.stenzel at gmail.com
Sun Jan 17 15:13:26 UTC 2021
> On 17. Jan 2021, at 16:09, Daniel D.Daugherty <dcubed at openjdk.java.net> wrote:
>
> 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.
>
> Thumbs up!
>
> Do you have any idea when fgetxattr() was fixed in 10.14? For example,
> if it was fixed in 10.14.4, then it would be necessary to include a micro
> version in the check. We may not care about that level of precision if
> we presume that folks are running the version that we tested (10.14.6).
>
> -------------
>
> Marked as reviewed by dcubed (Reviewer).
>
> PR: https://git.openjdk.java.net/jdk/pull/2112
Maybe someone with access to Radar (Apple's bug tracker) can answer this. This is the only public information I found so far: https://openradar.appspot.com/44533931 <https://openradar.appspot.com/44533931>, which marks this as a duplicate of ticket 39173408.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/nio-dev/attachments/20210117/bf69a208/attachment.htm>
More information about the nio-dev
mailing list