On Tue, 6 Oct 2020 16:00:12 GMT, Rajan Halade <rhal...@openjdk.org> wrote:

> 8254081: java/security/cert/PolicyNode/GetPolicyQualifiers.java fails due to 
> an expired certificate

test/jdk/java/security/cert/PolicyNode/GetPolicyQualifiers.java line 57:

> 55:         params.setRevocationEnabled(false);
> 56:         // Certificates expired on Oct 6th, 2020
> 57:         params.setDate(new Date("July 01, 2020"));

The Date() constructor is deprecated, would you like to use the replacement 
method DateFormat.parse()?

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

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

Reply via email to