< prev index next >
test/langtools/tools/jdeps/lib/JdepsUtil.java
Print this page
*** 173,183 ****
}
public ModuleAnalyzer getModuleAnalyzer(Set<String> mods) throws IOException {
// if --check is set, add to the root set and all modules are observable
addmods(mods);
! builder.allModules();
return new ModuleAnalyzer(configuration(), pw, mods);
}
public InverseDepsAnalyzer getInverseDepsAnalyzer() throws IOException {
return new InverseDepsAnalyzer(configuration(), filter.build(), writer(),
--- 173,183 ----
}
public ModuleAnalyzer getModuleAnalyzer(Set<String> mods) throws IOException {
// if --check is set, add to the root set and all modules are observable
addmods(mods);
! builder.addmods(Set.of("ALL-SYSTEM", "ALL-MODULE-PATH"));
return new ModuleAnalyzer(configuration(), pw, mods);
}
public InverseDepsAnalyzer getInverseDepsAnalyzer() throws IOException {
return new InverseDepsAnalyzer(configuration(), filter.build(), writer(),
< prev index next >