Skip to content
Permalink
Browse files
8274562: (fs) UserDefinedFileAttributeView doesn't correctly determin…
…e if supported when using OverlayFS

Backport-of: 3d7671b65e8491f3b1fcac8b96401401f783c9f4
  • Loading branch information
GoeLin committed Feb 15, 2022
1 parent ab3dd20 commit 2011c35344f5d5080bec23b66c32c8d992551173
Showing 1 changed file with 2 additions and 2 deletions.
@@ -317,7 +317,7 @@ Java_sun_nio_fs_UnixNativeDispatcher_init(JNIEnv* env, jclass this)

/* supports extended attributes */

#ifdef _SYS_XATTR_H_
#if defined(_SYS_XATTR_H) || defined(_SYS_XATTR_H_)
capabilities |= sun_nio_fs_UnixNativeDispatcher_SUPPORTS_XATTR;
#endif

@@ -1330,4 +1330,4 @@ Java_sun_nio_fs_UnixNativeDispatcher_flistxattr(JNIEnv* env, jclass clazz,
if (res == (size_t)-1)
throwUnixException(env, errno);
return (jint)res;
}
}

1 comment on commit 2011c35

@openjdk-notifier
Copy link

@openjdk-notifier openjdk-notifier bot commented on 2011c35 Feb 15, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.