On Wed, 20 May 2026 17:39:00 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:
> 
>   comments

src/java.base/share/classes/java/security/cert/X509Certificate.java line 352:

> 350:      * @implSpec
> 351:      * The default implementation calls {@code getNotBefore()}
> 352:      * and returns the output as an {@code Instant} value.

s/output/date/
remove "value" (not needed).

src/java.base/share/classes/java/security/cert/X509Certificate.java line 387:

> 385:      * @implSpec
> 386:      * The default implementation calls {@code getNotAfter()}
> 387:      * and returns the output as an {@code Instant} value.

s/output/date/
remove "value" (not needed).

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

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

Reply via email to