docs: public static int getfd(FileDescriptor descriptor)
    {
      try {
        return field.getInt(descriptor);
      }
      catch (IllegalArgumentException | IllegalAccessException e) {
        log.warn("Unable to read fd field from java.io.FileDescriptor");
      }
  
      return -1;
    }