8030048: (fs) Support UserDefinedFileAttributeView/extended attributes on OS X / HFS+

Alan Bateman Alan.Bateman at oracle.com
Thu Nov 26 17:01:31 UTC 2020


On 26/11/2020 08:39, Janiru Tec wrote:
> From my perspective the Linux implementation can be ported or at least 
> be used for many parts. It heavily utilizes an "Unsafe"-class, tho. Is 
> this a Problem in modern Implementations?
> As far as I can see the support itself is added using it's own class 
> that is loaded by a provider, macOS would probably be the best pick 
> for that.
At this time, the attributes views that are supported is configured in 
BsdFileSystem but it's okay for MacOSXFileSystem to augment this. There 
isn't any issue using unsafe here but the interface to these APIs 
involved memory outside of the heap then we'll need to study it closely 
to make sure that it is robust.

-Alan


More information about the nio-dev mailing list