test/jdk/tools/jpackage/helpers/jdk/jpackage/test/PackageTest.java
branchJDK-8200758-branch
changeset 58147 45a9084fe981
parent 58113 885b0543f6e4
child 58301 e0efb29609bd
--- a/test/jdk/tools/jpackage/helpers/jdk/jpackage/test/PackageTest.java	Thu Sep 12 15:21:34 2019 -0400
+++ b/test/jdk/tools/jpackage/helpers/jdk/jpackage/test/PackageTest.java	Sun Sep 15 07:34:39 2019 -0400
@@ -48,7 +48,7 @@
     /**
      * Default test configuration for jpackage command. Default jpackage command
      * initialization includes:
-     * <li>Set --input and --output parameters.
+     * <li>Set --input and --dest parameters.
      * <li>Set --name parameter. Value of the parameter is the name of the first
      * class with main function found in the callers stack. Defaults can be
      * overridden with custom initializers set with subsequent addInitializer()
@@ -166,7 +166,7 @@
             public JPackageCommand get() {
                 JPackageCommand cmd = new JPackageCommand().setDefaultInputOutput();
                 if (bundleOutputDir != null) {
-                    cmd.setArgumentValue("--output", bundleOutputDir.toString());
+                    cmd.setArgumentValue("--dest", bundleOutputDir.toString());
                 }
                 cmd.setDefaultAppName();
                 return cmd;