On Sat, 5 Sep 2026 08:26:01 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:
> 
>   Fix logical operator in time check conditions in time pasrsing test

src/java.base/share/classes/sun/security/util/DerOutputStream.java line 550:

> 548:      * @param tag the tag for UTC Time or Generalized Time
> 549:      */
> 550:     private DerOutputStream putTime(Instant d, byte tag) {

Do we need to check the range? What if instant is too large?

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

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

Reply via email to