RFR: 8282511: Use fixed certificate validation date in SSLExampleCert template [v2]

Xue-Lei Andrew Fan xuelei at openjdk.java.net
Tue Mar 1 23:23:54 UTC 2022


On Tue, 1 Mar 2022 22:56:54 GMT, Rajan Halade <rhalade at openjdk.org> wrote:

>> Xue-Lei Andrew Fan has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Chaneg to use DateFormat
>
> test/jdk/javax/net/ssl/ServerName/EndingDotHostname.java line 26:
> 
>> 24: /**
>> 25:  * @test
>> 26:  * @bug 8806542 8282511
> 
> No need to add a bug id here as this is test only change

Yep.

> test/jdk/javax/net/ssl/templates/SSLExampleCert.java line 373:
> 
>> 371:         // Set the date for the verifying of certificates.
>> 372:         @SuppressWarnings("deprecation")
>> 373:         Date verifyingDate = new Date(123, 3, 3);
> 
> can DateFormat be used instead to parse Date from a readable string representation?

Good catch!  Updated in the last commit. Thank you!

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

PR: https://git.openjdk.java.net/jdk/pull/7651



More information about the security-dev mailing list