test/jdk/tools/jpackage/createimage/JPackageCreateImageMainClassAttributeTest.java
branchJDK-8200758-branch
changeset 57150 fa68c2ab636d
parent 57106 ea870b9ce89a
child 57241 e11f3bf34083
equal deleted inserted replaced
57141:e7ba8c89abe7 57150:fa68c2ab636d
    42         "create-image",
    42         "create-image",
    43         "--input", "input",
    43         "--input", "input",
    44         "--output", "output",
    44         "--output", "output",
    45         "--name", "test",
    45         "--name", "test",
    46         "--main-jar", "hello.jar",
    46         "--main-jar", "hello.jar",
    47         "--force",
    47         "--overwrite",
    48         "--files", "hello.jar"};
    48         "--files", "hello.jar"};
    49 
    49 
    50     private static void validateResult(String[] result) throws Exception {
    50     private static void validateResult(String[] result) throws Exception {
    51         if (result.length != 2) {
    51         if (result.length != 2) {
    52             throw new AssertionError(
    52             throw new AssertionError(