changeset 14171:55a274769894

Fix jlink tests to use updated jmod options
author chegar
date Thu, 01 Oct 2015 17:11:36 +0100
parents 7187c680d9d0
children d885f95c958a
files test/jdk/jigsaw/tools/jlink/basic/BasicTest.java test/jdk/jigsaw/tools/lib/tests/JImageGenerator.java
diffstat 2 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/test/jdk/jigsaw/tools/jlink/basic/BasicTest.java	Thu Oct 01 16:23:20 2015 +0100
+++ b/test/jdk/jigsaw/tools/jlink/basic/BasicTest.java	Thu Oct 01 17:11:36 2015 +0100
@@ -117,7 +117,7 @@
 
     private void runJmod(String cp, String modName) {
         int rc = jdk.tools.jmod.Main.run(new String[] {
-                "create",
+                "--create",
                 "--class-path", cp,
                 "--module-version", "1.0",
                 "--main-class", "jdk.test.Test",
--- a/test/jdk/jigsaw/tools/lib/tests/JImageGenerator.java	Thu Oct 01 16:23:20 2015 +0100
+++ b/test/jdk/jigsaw/tools/lib/tests/JImageGenerator.java	Thu Oct 01 17:11:36 2015 +0100
@@ -465,11 +465,11 @@
         }
 
         public Result create() {
-            return cmd("create");
+            return cmd("--create");
         }
 
         public Result list() {
-            return cmd("list");
+            return cmd("--list");
         }
 
         public Result call() {