8223318: jpackage --mac-bundle-name option doesn't work JDK-8200758-branch
authorssadetsky
Thu, 13 Jun 2019 12:41:26 -0700
branchJDK-8200758-branch
changeset 57401 8a257decfe24
parent 57399 747416ba316d
child 57402 cd7287fc6f85
8223318: jpackage --mac-bundle-name option doesn't work Reviewed-by: herrick
src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/MacAppImageBuilder.java
--- a/src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/MacAppImageBuilder.java	Fri Jun 07 12:27:49 2019 -0400
+++ b/src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/MacAppImageBuilder.java	Thu Jun 13 12:41:26 2019 -0700
@@ -105,7 +105,7 @@
 
     public static final BundlerParamInfo<String> MAC_CF_BUNDLE_NAME =
             new StandardBundlerParam<>(
-                    "mac.CFBundleName",
+                    Arguments.CLIOptions.MAC_BUNDLE_NAME.getId(),
                     String.class,
                     params -> null,
                     (s, p) -> s);