code: private static boolean isPosix() {
      Method getDefaultMethod = ZTZipReflectionUtil.getDeclaredMethod(
          ZTZipReflectionUtil.getClassForName("java.nio.file.FileSystems", Object.class), "getDefault");
      Method supportedFileAttributeViewsMethod = ZTZipReflectionUtil.getDeclaredMethod(
          ZTZipReflectionUtil.getClassForName("java.nio.file.FileSystem", Object.class), "supportedFileAttributeViews");
      
      Object fileSystem = ZTZipReflectionUtil.invoke(getDefaultMethod, null);
      @SuppressWarnings("unchecked")
      Set<String> views = (Set<String>) ZTZipReflectionUtil.invoke(supportedFileAttributeViewsMethod, fileSystem);
      
      return views.contains("posix");
    }
docs: FileSystems.getDefault().supportedFileAttrubuteViews().contains("posix");