}
private void initialize() {
ClassLoader nullClassLoader = new NullClassLoader();
for (Module module : modulesRegistry.getModules()) {
ModuleDefinition moduleDef = module.getModuleDefinition();
// FIXME: We may optimize this by creating a manifest entry in the
// jar file(s) to indicate that the jar contains logger infos. Jar files
// need not be opened if they don't contain logger infos.
URI uris[] = moduleDef.getLocations();
int size = (uris != null ? uris.length : 0);
if (size == 0) {
continue;
}
URL urls[] = new URL[size];