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

Reviewed-by: alanb
This commit is contained in:
Sebastian Stenzel 2021-01-16 08:36:05 +00:00 committed by Alan Bateman
parent bbb93ca3c8
commit afd3f78aec
7 changed files with 573 additions and 0 deletions

View file

@ -56,6 +56,8 @@ class BsdFileSystem extends UnixFileSystem {
private static Set<String> supportedFileAttributeViews() {
Set<String> result = new HashSet<String>();
result.addAll(standardFileAttributeViews());
// additional BSD-specific views
result.add("user");
return Collections.unmodifiableSet(result);
}
}