code: public static boolean addHandle(VirtualFile owner, Closeable handle) {
          RegistryEntry entry = getEntry(owner);
          return entry.handles.add(handle);
      }
docs: Add handle to owner, to be auto closed.
  
  @param owner  the handle owner
  @param handle the handle
  @return add result