Integrated: 8354990: Improve negative tests coverage for jpackage signing

Alexey Semenyuk asemenyuk at openjdk.org
Tue Apr 22 00:29:52 UTC 2025


On Fri, 18 Apr 2025 21:11:35 GMT, Alexey Semenyuk <asemenyuk at openjdk.org> wrote:

> Add tests for the following test cases:
>  - Expired certificate specified for signing;
>  - Multiple certificates with the same name in one keychain.
> 
> Adding the new tests revealed an issue with MacCertificate - [JDK-8354989](https://bugs.openjdk.org/browse/JDK-8354989). This issue is also addressed in this PR.
> 
> Additionally:
>  - Moved code to verify signatures in MacSignVerify class and reworked SigningBase verify functions to use MacSignVerify API.

This pull request has now been integrated.

Changeset: 47f78a75
Author:    Alexey Semenyuk <asemenyuk at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/47f78a7529a2b290a07394e053bcfaff4907b7e5
Stats:     957 lines in 7 files changed: 716 ins; 134 del; 107 mod

8354990: Improve negative tests coverage for jpackage signing
8354989: Bug in MacCertificate class

Reviewed-by: almatvee

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

PR: https://git.openjdk.org/jdk/pull/24762


More information about the core-libs-dev mailing list