RFR: JDK-8320372: test/jdk/sun/security/x509/DNSName/LeadingPeriod.java validity check failed

Alan Bateman alanb at openjdk.org
Mon Nov 20 17:13:15 UTC 2023


On Mon, 20 Nov 2023 16:43:08 GMT, Sean Mullan <mullan at openjdk.org> wrote:

> Set the validity date to the notBefore date of the EE certs so that validation won't fail when the certs expire - there is only one cert in the path so this should be sufficient. I also removed the trust anchor from the CertPath as it isn't necessary to include that in the path.
> 
> Not sure if it is really necessary to complete before I integrate, but Mach5 in progress.

Looks okay, I probably won't extend the `@bug` list as this is a test issue, the test hasn't been extended to cover other issues.

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

Marked as reviewed by alanb (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/16744#pullrequestreview-1740315594



More information about the security-dev mailing list