File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed
macosx/classes/jdk/jpackage/internal
share/classes/jdk/jpackage/internal
test/jdk/tools/jpackage/helpers/jdk/jpackage/test Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -60,6 +60,7 @@ public MacBaseInstallerBundler() {
6060 protected void validateAppImageAndBundeler (
6161 Map <String , ? super Object > params ) throws ConfigException {
6262 if (PREDEFINED_APP_IMAGE .fetchFrom (params ) != null ) {
63+ Path applicationImage = PREDEFINED_APP_IMAGE .fetchFrom (params );
6364 if (new MacAppImageFileExtras (PREDEFINED_APP_IMAGE_FILE .fetchFrom (params )).signed ()) {
6465 var appLayout = ApplicationLayoutUtils .PLATFORM_APPLICATION_LAYOUT .resolveAt (applicationImage );
6566 if (!Files .exists (
Original file line number Diff line number Diff line change @@ -261,8 +261,8 @@ final class StandardBundlerParam {
261261 (s , p ) -> s
262262 );
263263
264- public static final StandardBundlerParam <String > LICENSE_FILE =
265- new StandardBundlerParam <>(
264+ public static final BundlerParamInfo <String > LICENSE_FILE =
265+ new BundlerParamInfo <>(
266266 Arguments .CLIOptions .LICENSE_FILE .getId (),
267267 String .class ,
268268 params -> null ,
Original file line number Diff line number Diff line change @@ -336,10 +336,11 @@ private static String getPackageId(JPackageCommand cmd) {
336336 return JavaAppDesc .parse (className ).packageName ();
337337 });
338338 });
339+ }
340+
339341 public static boolean isXcodeDevToolsInstalled () {
340342 return Inner .XCODE_DEV_TOOLS_INSTALLED ;
341343 }
342- }
343344
344345 private static String getServicePListFileName (String packageName ,
345346 String launcherName ) {
You can’t perform that action at this time.
0 commit comments