RFR: 8370126: Improve jpackage signing testing
Alexey Semenyuk
asemenyuk at openjdk.org
Tue Oct 21 01:33:04 UTC 2025
On Tue, 21 Oct 2025 01:12:57 GMT, Alexander Matveev <almatvee at openjdk.org> wrote:
>> Looks like this is antivirus blocking access to the main launcher:
>>
>> $ /usr/bin/codesign --verify --strict --verbose=2 /Applications/AppContentTest.app/Contents/MacOS/AppContentTest
>> /Applications/AppContentTest.app/Contents/MacOS/AppContentTest: Permission denied
>> $ /usr/bin/codesign --verify --strict --verbose=2 /Applications/AppContentTest.app/Contents/runtime/Contents/MacOS/libjli.dylib
>> /Applications/AppContentTest.app/Contents/runtime/Contents/MacOS/libjli.dylib: valid on disk
>> /Applications/AppContentTest.app/Contents/runtime/Contents/MacOS/libjli.dylib: satisfies its Designated Requirement
>>
>>
>> I tried to run the main launcher:
>>
>> $ /Applications/AppContentTest.app/Contents/MacOS/AppContentTest
>> Killed: 9
>>
>>
>> Next attempt - it is gone. Got deleted by Crowdstrike 100%
>>
>> $ /Applications/AppContentTest.app/Contents/MacOS/AppContentTest
>> -bash: /Applications/AppContentTest.app/Contents/MacOS/AppContentTest: No such file or directory
>
> Thanks for explanation. I think it can be related to recent issue on macOS 15.5 and up when application bundles installed with PKG cannot be overwritten by application bundles from DMG with drag and drop command. I can see by provided log that you refer to applications installed with PKG since they under root user.
Could be. But it fails only for some bundles and pretty consistently. Anyway, I don't think this is caused by some jpackage bug.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/27875#discussion_r2446502982
More information about the core-libs-dev
mailing list