test/jdk/tools/jpackage/share/ModularJarTest.java
branchJDK-8200758-branch
changeset 58114 42df7de58e39
parent 57446 5a5b85f00a63
child 58147 45a9084fe981
equal deleted inserted replaced
58113:885b0543f6e4 58114:42df7de58e39
    33  */
    33  */
    34 public class ModularJarTest {
    34 public class ModularJarTest {
    35     private static final String OUTPUT = "output";
    35     private static final String OUTPUT = "output";
    36 
    36 
    37     private static final String [] CMD1 = {
    37     private static final String [] CMD1 = {
       
    38         "--package-type", "app-image",
    38         "--input", "input",
    39         "--input", "input",
    39         "--output", OUTPUT,
    40         "--output", OUTPUT,
    40         "--name", "test",
    41         "--name", "test",
    41         "--main-jar", "com.hello.jar",
    42         "--main-jar", "com.hello.jar",
    42         "--main-class", "com.hello.Hello",
    43         "--main-class", "com.hello.Hello",
    43     };
    44     };
    44 
    45 
    45     private static final String [] CMD2 = {
    46     private static final String [] CMD2 = {
       
    47         "--package-type", "app-image",
    46         "--output", OUTPUT,
    48         "--output", OUTPUT,
    47         "--name", "test",
    49         "--name", "test",
    48         "--module", "com.hello/com.hello.Hello",
    50         "--module", "com.hello/com.hello.Hello",
    49         "--module-path", "input/com.hello.jar",
    51         "--module-path", "input/com.hello.jar",
    50     };
    52     };