CompositeClassLoader rootClassloader = new CompositeClassLoader( Thread.currentThread().getContextClassLoader() );
JavaDialectRuntimeData dialectData = (JavaDialectRuntimeData) bp.getDialectRuntimeRegistry().getDialectData( "java" );
dialectData.onAdd( bp.getDialectRuntimeRegistry(),
rootClassloader );
Class newBean = rootClassloader.loadClass( "org.test.NewBean" );
assertNotNull( newBean );
}
public void testPackageMerge() throws Exception {
final PackageBuilder builder = new PackageBuilder();