Logger logger = getLogger(); URI[] uris = classpath.getDependencies( Category.SYSTEM ); if( uris.length > 0 ) { updateSystemClassLoader( uris ); }  URI[] apis = classpath.getDependencies( Category.PUBLIC ); ClassLoader api = StandardClassLoader.buildClassLoader( logger, label, Category.PUBLIC, base, apis ); URI[] spis = classpath.getDependencies( Category.PROTECTED ); ClassLoader spi = StandardClassLoader.buildClassLoader( logger, label, Category.PROTECTED, api, spis ); URI[] imps = classpath.getDependencies( Category.PRIVATE ); return StandardClassLoader.buildClassLoader( logger, label, Category.PRIVATE, spi, imps );
return newClassLoader( base, classpath, label, true );
    private ClassLoader newClassLoader( ClassLoader base, Classpath classpath, String label ) throws IOException    {        Logger logger = getLogger();        URI[] uris = classpath.getDependencies( Category.SYSTEM );        if( uris.length > 0 )        {            updateSystemClassLoader( uris );        }                URI[] apis = classpath.getDependencies( Category.PUBLIC );        ClassLoader api = StandardClassLoader.buildClassLoader( logger, label, Category.PUBLIC, base, apis );        URI[] spis = classpath.getDependencies( Category.PROTECTED );        ClassLoader spi = StandardClassLoader.buildClassLoader( logger, label, Category.PROTECTED, api, spis );        URI[] imps = classpath.getDependencies( Category.PRIVATE );        return StandardClassLoader.buildClassLoader( logger, label, Category.PRIVATE, spi, imps );    }