test/langtools/tools/jdeps/lib/JdepsUtil.java
changeset 48253 82767203606e
parent 47216 71c04702a3d5
--- a/test/langtools/tools/jdeps/lib/JdepsUtil.java	Tue Dec 12 11:10:12 2017 -0800
+++ b/test/langtools/tools/jdeps/lib/JdepsUtil.java	Tue Dec 12 11:31:38 2017 -0800
@@ -175,7 +175,7 @@
         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);
         }