jdk/test/tools/launcher/modules/dryrun/DryRunTest.java
changeset 44545 83b611b88ac8
parent 41484 834b7539ada3
child 45393 de4e1efc8eec
--- a/jdk/test/tools/launcher/modules/dryrun/DryRunTest.java	Thu Apr 06 17:01:03 2017 +0000
+++ b/jdk/test/tools/launcher/modules/dryrun/DryRunTest.java	Fri Apr 07 08:05:54 2017 +0000
@@ -167,22 +167,6 @@
         // test main method with and without --add-modules mm
         int exitValue = exec("--module-path", LIBS_DIR.toString(),
                              "-m", mid);
-        assertTrue(exitValue != 0);
-
-        exitValue = exec("--module-path", LIBS_DIR.toString(),
-                         "--add-modules", M_MODULE,
-                         "-m", mid);
-        assertTrue(exitValue == 0);
-
-        // test dry run with and without --add-modules m
-        // no resolution failure
-        exitValue = exec("--dry-run", "--module-path", LIBS_DIR.toString(),
-                         "-m", mid);
-        assertTrue(exitValue == 0);
-
-        exitValue = exec("--dry-run", "--module-path", LIBS_DIR.toString(),
-                         "--add-modules", M_MODULE,
-                         "-m", mid);
         assertTrue(exitValue == 0);
     }