test/jdk/tools/jpackage/share/MainClassAttributeTest.java
branchJDK-8200758-branch
changeset 58147 45a9084fe981
parent 58114 42df7de58e39
equal deleted inserted replaced
58119:48b157463fef 58147:45a9084fe981
    39     private static final String appOutput = JPackagePath.getAppOutputFile();
    39     private static final String appOutput = JPackagePath.getAppOutputFile();
    40 
    40 
    41     private static final String[] CMD = {
    41     private static final String[] CMD = {
    42         "--package-type", "app-image",
    42         "--package-type", "app-image",
    43         "--input", "input",
    43         "--input", "input",
    44         "--output", OUTPUT,
    44         "--dest", OUTPUT,
    45         "--name", "test",
    45         "--name", "test",
    46         "--main-jar", "hello.jar"};
    46         "--main-jar", "hello.jar"};
    47 
    47 
    48     private static void validateResult(String[] result) throws Exception {
    48     private static void validateResult(String[] result) throws Exception {
    49         if (result.length != 2) {
    49         if (result.length != 2) {