code: private static ClassLoader getInitParent(ClassLoader parent,
                                             boolean isRoot)
    {
      if (parent == null)
        parent = Thread.currentThread().getContextClassLoader();
  
      if (isRoot || parent instanceof DynamicClassLoader)
        return parent;
      else {
        //return RootDynamicClassLoader.create(parent);
        return parent;
      }
    }
docs: Returns the initialization parent, i.e. the parent if given
  or the context class loader if not given.