ClassLoader parentLoader)
{
checkConfiguration(cf);
checkCreateClassLoaderPermission();
checkGetClassLoaderPermission();
<BUG>Loader loader;</BUG>
try {
<BUG>loader = new Loader(cf.modules(), parentLoader);

loader.initRemotePackageMap(cf, this);
} catch (IllegalArgumentException e) {</BUG>
throw new LayerInstantiationException(e.getMessage());

ClassLoader parentLoader)
{
checkConfiguration(cf);
checkCreateClassLoaderPermission();
checkGetClassLoaderPermission();
try {
Loader loader = new Loader(cf.modules(), parentLoader);
loader.initRemotePackageMap(cf, this);
return new Layer(cf, this, mn -> loader);
} catch (IllegalArgumentException e) {
throw new LayerInstantiationException(e.getMessage());
