< prev index next >

test/jdk/tools/jpackage/share/ModularJarTest.java

Print this page

        

@@ -33,18 +33,20 @@
  */
 public class ModularJarTest {
     private static final String OUTPUT = "output";
 
     private static final String [] CMD1 = {
+        "--package-type", "app-image",
         "--input", "input",
         "--output", OUTPUT,
         "--name", "test",
         "--main-jar", "com.hello.jar",
         "--main-class", "com.hello.Hello",
     };
 
     private static final String [] CMD2 = {
+        "--package-type", "app-image",
         "--output", OUTPUT,
         "--name", "test",
         "--module", "com.hello/com.hello.Hello",
         "--module-path", "input/com.hello.jar",
     };
< prev index next >