--- old/test/tools/jdeps/modules/TransitiveDeps.java 2016-08-05 14:32:30.000000000 -0700 +++ new/test/tools/jdeps/modules/TransitiveDeps.java 2016-08-05 14:32:30.000000000 -0700 @@ -123,7 +123,7 @@ public void testModulePath(String name, List data) throws IOException { Set roots = Set.of("m6", "unsafe"); - String cmd1 = String.format("jdeps -modulepath %s -addmods %s -m %s%n", MODS_DIR, + String cmd1 = String.format("jdeps --module-path %s --add-modules %s -m %s%n", MODS_DIR, roots.stream().collect(Collectors.joining(",")), name); try (JdepsUtil.Command jdeps = JdepsUtil.newCommand(cmd1)) { jdeps.verbose("-verbose:class") @@ -136,7 +136,7 @@ // run automatic modules roots = Set.of("ALL-MODULE-PATH", "jdk.unsupported"); - String cmd2 = String.format("jdeps -modulepath %s -addmods %s -m %s%n", LIBS_DIR, + String cmd2 = String.format("jdeps --module-path %s --add-modules %s -m %s%n", LIBS_DIR, roots.stream().collect(Collectors.joining(",")), name); try (JdepsUtil.Command jdeps = JdepsUtil.newCommand(cmd2)) {