public SystemLocationContainer(Location loc, JrtFileSystem jrt) throws IOException {
super(loc);
jrt.initialize();
HashMap<String, Path> modulePathMap = jrt.modulePathMap;
Set<String> keySet = modulePathMap.keySet();
for (String mod : keySet) {
Path path = jrt.file.toPath();
ModuleLocationWrapper wrapper = new ModuleLocationWrapper(loc, mod, false,
Collections.singletonList(path));
this.locationNames.put(mod, wrapper);
this.locationPaths.put(path, wrapper);
}
}
public SystemLocationContainer(Location loc, ClasspathJrt cp) throws IOException {