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() {
60
60
protected void validateAppImageAndBundeler (
61
61
Map <String , ? super Object > params ) throws ConfigException {
62
62
if (PREDEFINED_APP_IMAGE .fetchFrom (params ) != null ) {
63
+ Path applicationImage = PREDEFINED_APP_IMAGE .fetchFrom (params );
63
64
if (new MacAppImageFileExtras (PREDEFINED_APP_IMAGE_FILE .fetchFrom (params )).signed ()) {
64
65
var appLayout = ApplicationLayoutUtils .PLATFORM_APPLICATION_LAYOUT .resolveAt (applicationImage );
65
66
if (!Files .exists (
Original file line number Diff line number Diff line change @@ -261,8 +261,8 @@ final class StandardBundlerParam {
261
261
(s , p ) -> s
262
262
);
263
263
264
- public static final StandardBundlerParam <String > LICENSE_FILE =
265
- new StandardBundlerParam <>(
264
+ public static final BundlerParamInfo <String > LICENSE_FILE =
265
+ new BundlerParamInfo <>(
266
266
Arguments .CLIOptions .LICENSE_FILE .getId (),
267
267
String .class ,
268
268
params -> null ,
Original file line number Diff line number Diff line change @@ -336,10 +336,11 @@ private static String getPackageId(JPackageCommand cmd) {
336
336
return JavaAppDesc .parse (className ).packageName ();
337
337
});
338
338
});
339
+ }
340
+
339
341
public static boolean isXcodeDevToolsInstalled () {
340
342
return Inner .XCODE_DEV_TOOLS_INSTALLED ;
341
343
}
342
- }
343
344
344
345
private static String getServicePListFileName (String packageName ,
345
346
String launcherName ) {
You can’t perform that action at this time.
0 commit comments