< prev index next >

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

Print this page

        

@@ -33,26 +33,29 @@
  */
 public class AddModulesTest {
     private static final String OUTPUT = "output";
 
     private static final String [] CMD1 = {
+        "--package-type", "app-image",
         "--output", OUTPUT,
         "--name", "test",
         "--module", "com.hello/com.hello.Hello",
         "--module-path", "input",
         "--add-modules", "java.desktop",
     };
 
     private static final String [] CMD2 = {
+        "--package-type", "app-image",
         "--output", OUTPUT,
         "--name", "test",
         "--module", "com.hello/com.hello.Hello",
         "--module-path", "input",
         "--add-modules", "java.desktop,java.xml",
     };
 
     private static final String [] CMD3 = {
+        "--package-type", "app-image",
         "--output", OUTPUT,
         "--name", "test",
         "--module", "com.hello/com.hello.Hello",
         "--module-path", "input",
         "--add-modules", "java.desktop",
< prev index next >