< prev index next >

test/langtools/tools/jdeps/lib/JdepsUtil.java

Print this page

        

@@ -173,11 +173,11 @@
         }
 
         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();
+            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 >