On Wed, 4 Mar 2026 14:22:08 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.
src/java.base/share/classes/java/security/cert/X509Certificate.java line 181:
> 179: *
> 180: * @implSpec
> 181: * The default implementation converts an inputted {@code Instant} to
Nit:
s/an inputted/the specified/
src/java.base/share/classes/java/security/cert/X509Certificate.java line 355:
> 353:
> 354: /**
> 355: * Gets the {@code notBefore} date from the validity period of
Suggest inserting "as an instant" after "date".
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/30047#discussion_r2931548068
PR Review Comment: https://git.openjdk.org/jdk/pull/30047#discussion_r2931605236