On Tue, 22 Apr 2025 00:43:24 GMT, Alexey Semenyuk <asemen...@openjdk.org> wrote:

> Add tests covering `error.explicit-sign-no-cert` error ID to ErrorTest.
> 
> If signing identity validation fails, jpackage outputs three messages 
> constructed from the following string IDs: `error.cert.not.found`, 
> `error.explicit-sign-no-cert`, and `error.explicit-sign-no-cert.advice`.
> 
> `TKit.TextStreamVerifier.andThen()` method doesn't work correctly when 
> combining more than two instances of `TKit.TextStreamVerifier` class. To 
> address this bug and analyze jpackage's output for three expected strings 
> when a non-existent signing identity is specified, the 
> `TKit.TextStreamVerifier.andThen()` method was replaced with the 
> `TKit.TextStreamVerifier.Group` class. Changes in other tests are a result of 
> this change.

@sashamatveev PTAL

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

PR Comment: https://git.openjdk.org/jdk/pull/24786#issuecomment-2822273911

Reply via email to