final ClassLoaderSetMetaData metadata =
new ClassLoaderSetMetaData( "ext",
new String[]{"*system*"},
new ClassLoaderMetaData[]{classLoader},
new JoinMetaData[ 0 ] );
final SimpleLoaderResolver resolver = new TestLoaderResolver( new File( "." ) );
final HashMap predefined = new HashMap();
predefined.put( "*system*", ClassLoader.getSystemClassLoader() );
try
{
builder.buildClassLoaders( metadata, resolver, predefined );