code: public static DynamicClassLoader create(ClassLoader parent, PathImpl path)
    {
      DynamicClassLoader loader = new DynamicClassLoader(parent);
  
      LibraryLoader dirLoader = new LibraryLoader(loader, path);
      dirLoader.init();
  
      loader.init();
      
      return loader;
    }
docs: Create a new class loader
  
  @param parent parent class loader
  @param dir directories which can handle dynamic jar addition