RFR: 8342576: [macos] AppContentTest still fails after JDK-8341443 for same reason on older macOS versions

Michael Hall mik3hall at gmail.com
Sat May 3 15:53:10 UTC 2025



> On May 3, 2025, at 10:49 AM, Michael Hall <mik3hall at gmail.com> wrote:
> 
> 
> 
>> On May 3, 2025, at 10:33 AM, Christoph <duke at openjdk.org> wrote:
>> 
>> On Fri, 25 Oct 2024 01:49:01 GMT, Alexander Matveev <almatvee at openjdk.org> wrote:
>> 
>>> - It is not clear on which macOS versions codesign fails if application bundle contains additional content.
>>> - As a result test was modified to generate only application image, since PKG or DMG cannot be generated if signing fails. Exit code of jpackage is ignored, but generated application image will be checked for additional content.
>>> - This change is for macOS only.
>>> - Previous implementation of test (forcing expected exist code to 1) was not doing anything useful, since we never checked if additional content was copied or not.
>> 
>> Jpackage does include the options as well from the logs:
> 
> Not for me with 
> 

Sorry missed it.

/usr/bin/codesign -s Developer ID Application: Michael Hall (5X6BXQB3Q7) -vvvv --timestamp --options runtime --prefix us.hall.hp.common. --entitlements entitlements.xml --force /var/folders/mp/64527rf1501726r7t53qpx0w0000gn/T/jdk.jpackage8582845157994500039/images/image-17727033358038913514/HalfPipe.app

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/core-libs-dev/attachments/20250503/c021f2fe/attachment.htm>


More information about the core-libs-dev mailing list