LinuxNativeDispatcher uses dlsym to get the addresses of fgetxattr, fsetxattr, fremovexattr, flistxattr. This dates back to JDK 7 when the header files for supported platforms didn't have these functions. This should be ex-examined, it is likely that libnio can link directly to these functions.
- relates to
JDK-8260966 (fs) Consolidate Linux and macOS implementations of UserDefinedFileAttributeView