RFR: 8371383: Test sun/security/tools/jarsigner/DefaultOptions.java failed due to CertificateNotYetValidException [v2]
Hai-May Chao
hchao at openjdk.org
Fri Nov 7 15:14:34 UTC 2025
> 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.
Hai-May Chao has updated the pull request incrementally with one additional commit since the last revision:
Update with Mikhail's comments
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/28186/files
- new: https://git.openjdk.org/jdk/pull/28186/files/606341e3..55c83609
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=28186&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=28186&range=00-01
Stats: 9 lines in 1 file changed: 3 ins; 4 del; 2 mod
Patch: https://git.openjdk.org/jdk/pull/28186.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/28186/head:pull/28186
PR: https://git.openjdk.org/jdk/pull/28186
More information about the security-dev
mailing list