test/langtools/tools/jdeps/lib/JdepsUtil.java
changeset 48253 82767203606e
parent 47216 71c04702a3d5
equal deleted inserted replaced
48252:77b88d8f8380 48253:82767203606e
   173         }
   173         }
   174 
   174 
   175         public ModuleAnalyzer getModuleAnalyzer(Set<String> mods) throws IOException {
   175         public ModuleAnalyzer getModuleAnalyzer(Set<String> mods) throws IOException {
   176             // if --check is set, add to the root set and all modules are observable
   176             // if --check is set, add to the root set and all modules are observable
   177             addmods(mods);
   177             addmods(mods);
   178             builder.allModules();
   178             builder.addmods(Set.of("ALL-SYSTEM", "ALL-MODULE-PATH"));
   179             return new ModuleAnalyzer(configuration(), pw, mods);
   179             return new ModuleAnalyzer(configuration(), pw, mods);
   180         }
   180         }
   181 
   181 
   182         public InverseDepsAnalyzer getInverseDepsAnalyzer() throws IOException {
   182         public InverseDepsAnalyzer getInverseDepsAnalyzer() throws IOException {
   183             return new InverseDepsAnalyzer(configuration(), filter.build(), writer(),
   183             return new InverseDepsAnalyzer(configuration(), filter.build(), writer(),