Integrated: 8371383: Test sun/security/tools/jarsigner/DefaultOptions.java failed due to CertificateNotYetValidException

Hai-May Chao hchao at openjdk.org
Fri Nov 21 00:08:27 UTC 2025


On Fri, 7 Nov 2025 05:55:34 GMT, Hai-May Chao <hchao at openjdk.org> wrote:

> The `DefaultOptions.java` test may fail as the current system time is before the signing certificate NotBefore time, when jarsigner tool validates it in `CertificateValidity.valid()`. Please review the fix in this test to avoid such intermittent timing problem. Thanks.

This pull request has now been integrated.

Changeset: 0972ba68
Author:    Hai-May Chao <hchao at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/0972ba681cdc81b77e9b4353db8ee835216d242e
Stats:     5 lines in 1 file changed: 3 ins; 0 del; 2 mod

8371383: Test sun/security/tools/jarsigner/DefaultOptions.java failed due to CertificateNotYetValidException

Reviewed-by: weijun

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

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


More information about the security-dev mailing list