{
throw new RuntimeException(t);
}
vfsdd.setClassLoading(classLoading);
ClassLoaderSystem system = new DefaultClassLoaderSystem();
// allow MC annotations, so that both, deployer and tester see the same
ClassFilter mcAnnFilter = new PackageClassFilter(new String[]{"org.jboss.beans.metadata.api.annotations"});
ClassFilter filter = new CombiningClassFilter(false, new ClassFilter[]{ClassFilter.JAVA_ONLY, mcAnnFilter});
ParentPolicy policy = new ParentPolicy(filter, ClassFilter.NOTHING);
system.getDefaultDomain().setParentPolicy(policy);
AbstractLevelClassLoaderSystemDeployer clsd = new AbstractLevelClassLoaderSystemDeployer();
clsd.setClassLoading(classLoading);
clsd.setSystem(system);