code: public void addLocalClassPath(ClassLoader loader)
    {
      String classpath = null;
  
      if (loader instanceof DynamicClassLoader)
        classpath = ((DynamicClassLoader) loader).getLocalClassPath();
      else
        classpath = System.getProperty("java.class.path");
  
      addClassPath(classpath);
    }
docs: Adds the classpath for the loader as paths in the MergePath.
  
  @param loader class loader whose classpath should be used to search.