On Tue, 6 Oct 2020 16:21:34 GMT, Xue-Lei Andrew Fan <[email protected]> wrote:
>> Rajan Halade has updated the pull request incrementally with one additional
>> commit since the last revision:
>>
>> 8254081: Use DateFormat instead of Date
>
> 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()?
I have fixed it, thanks!
-------------
PR: https://git.openjdk.java.net/jdk/pull/528