Lines Matching refs:jdeps

30  *          jdk.jdeps/com.sun.tools.jdeps
46 import com.sun.tools.jdeps.Archive;
47 import com.sun.tools.jdeps.InverseDepsAnalyzer;
115 // this invokes the jdeps launcher so that all system modules are observable
116 JdepsRunner jdeps = JdepsRunner.run(
119 List<String> output = Arrays.stream(jdeps.output())
160 String cmd1 = String.format("jdeps --inverse --module-path %s --require %s --add-modules %s%n",
163 try (JdepsUtil.Command jdeps = JdepsUtil.newCommand(cmd1)) {
164 jdeps.appModulePath(MODS_DIR.toString())
168 runJdeps(jdeps, expected);
171 String cmd2 = String.format("jdeps --inverse --module-path %s --require %s" +
175 try (JdepsUtil.Command jdeps = JdepsUtil.newCommand(cmd2)) {
176 jdeps.appModulePath(MODS_DIR.toString())
180 runJdeps(jdeps, expected);
207 String cmd = String.format("jdeps --inverse --module-path %s -package %s --add-modules %s%n",
209 try (JdepsUtil.Command jdeps = JdepsUtil.newCommand(cmd)) {
210 jdeps.appModulePath(MODS_DIR.toString())
214 runJdeps(jdeps, expected);
238 String cmd = String.format("jdeps --inverse --module-path %s -regex %s --add-modules %s%n",
241 try (JdepsUtil.Command jdeps = JdepsUtil.newCommand(cmd)) {
242 jdeps.appModulePath(MODS_DIR.toString())
246 runJdeps(jdeps, expected);
283 String cmd1 = String.format("jdeps --inverse -classpath %s -regex %s %s%n",
285 try (JdepsUtil.Command jdeps = JdepsUtil.newCommand(cmd1)) {
286 jdeps.verbose("-verbose:class")
289 runJdeps(jdeps, expected);
296 String cmd2 = String.format("jdeps --inverse -regex %s %s%n", name, paths);
297 try (JdepsUtil.Command jdeps = JdepsUtil.newCommand(cmd2)) {
298 jdeps.verbose("-verbose:class").regex(name);
299 paths.forEach(jdeps::addRoot);
300 runJdeps(jdeps, expected);
304 private void runJdeps(JdepsUtil.Command jdeps, String[][] expected) throws Exception {
305 InverseDepsAnalyzer analyzer = jdeps.getInverseDepsAnalyzer();
316 jdeps.dumpOutput(System.err);