RFR: JDK-8030048: (fs) Support UserDefinedFileAttributeView/extended attributes on OS X / HFS+ [v4]
Alan Bateman
Alan.Bateman at oracle.com
Sat Jan 16 16:01:58 UTC 2021
On 15/01/2021 20:19, Sebastian Stenzel wrote:
> :
> Thank you, Alan, for guiding me through the process and reviewing the changes!
>
> Regarding the deduplication I already have some ideas and questions, but I think I'll do this in a new thread in a couple of days.
No problem, it's a good contribution for something that the maintainers
in this area never got time to work on.
One issue is that has come up since the commit is that
UserDefinedFileAttributeView/Basic.java is failing on macOS 10.13
systems. I've created JDK-8259865 [1] to track it. I can't duplicate it
on 10.14 and 10.15. I think the issue is that fgetxattr is not failing
with -1/ERANGE when the buffer is too small. We may have to disable
support for user defined file attributes on systems older than 10.14.
-Alan
[1] https://bugs.openjdk.java.net/browse/JDK-8259865
More information about the nio-dev
mailing list