protected ClassLoader createClassLoader ( List < Archive > archives ) throws Exception { List < URL > urls = new ArrayList <> ( archives . size ( ) ) ; for ( Archive archive : archives ) { urls . add ( archive . getUrl ( ) ) ; } return createClassLoader ( urls . toArray ( new URL [ 0 ] ) ) ; }
Create a classloader for the specified archives .