On Tue, 22 Oct 2024 01:46:45 GMT, Alexander Matveev <almat...@openjdk.org> 
wrote:

> - Removed hard check for "Xcode with command line developer tools" when 
> `--mac-sign` is specified and instead we will show information message if 
> `codesign` fails for any reason that possible root cause of failure is 
> missing Xcode with command line developer tools.
> - Reason for this is that `codesign` works fine on recent macOS versions and 
> it looks like dependency on Xcode with command line developer tools is no 
> longer required. Unfortunately it is unknown which macOS versions are require 
> Xcode with command line developer tools in order to `codesign` work, so this 
> check will be done as soft check.
> - SigningOptionsTest which requires "Xcode with command line developer tools" 
> on some older macOS versions was modified to skip certain tests which might 
> fail if Xcode is not installed.

src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/MacAppImageBuilder.java 
line 784:

> 782:         }
> 783: 
> 784:         return false;

I'd use jpackage `Executor` class to run all external commands.

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/21628#discussion_r1811272622

Reply via email to