parquet-cli/src/main/java/org/apache/parquet/cli/BaseCommand.java
protected static ClassLoader loaderForJars(List<String> jars)
      throws MalformedURLException {
    return AccessController.doPrivileged(new GetClassLoader(urls(jars, null)));
  }
protected static ClassLoader loaderForJars(List<String> jars)
      throws MalformedURLException {
    return AccessController.doPrivileged(new GetClassLoader(urls(jars, null)));
  }
Returns a {@link ClassLoader} for a set of jars.

@param jars A list of jar paths
@return a classloader for the jars
@throws MalformedURLException if a URL is invalid