On Sun, 23 Aug 2026 21:06:15 GMT, Mikhail Yankelevich 
<[email protected]> wrote:

>> Adding new methods to `X509Certificate` to return `Instant` instead of 
>> `Date` as well as moving away from `Date` in internal packages wherever 
>> possible.
>> 
>> ---------
>> - [x] I confirm that I make this contribution in accordance with the 
>> [OpenJDK Interim AI Policy](https://openjdk.org/legal/ai).
>
> Mikhail Yankelevich has updated the pull request incrementally with one 
> additional commit since the last revision:
> 
>   changed try catch to if statements

test/jdk/sun/security/util/DerInputBuffer/TimeParsing.java line 132:

> 130:       Date d1 = decodeUTC(b);
> 131:       Instant d1Instant = decodeUTCInstant(b);
> 132:       if (!d0.equals(d1) && !d1.toInstant().equals(d1Instant)) {

Should this be `||`?

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

PR Review Comment: https://git.openjdk.org/jdk/pull/30047#discussion_r3863401182

Reply via email to