RFR: 8283082: sun.security.x509.X509CertImpl.delete("x509.info.validity") nulls out info field [v2]

Weijun Wang weijun at openjdk.org
Wed Jun 29 13:47:41 UTC 2022


On Wed, 29 Jun 2022 02:39:26 GMT, Jayashree Huttanagoudar <duke at openjdk.org> wrote:

>> Could you please review the changes?
>> This is to address the issue: https://bugs.openjdk.org/browse/JDK-8283082?jql=labels%20%3D%20starter-bug
>
> Jayashree Huttanagoudar has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Address review comments

src/java.base/share/classes/sun/security/x509/X509CertImpl.java line 742:

> 740: 
> 741:         if (id.equalsIgnoreCase(INFO)) {
> 742:             if ((attr.getSuffix() == null)) {

You can remove the parentheses that were added last time.

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

PR: https://git.openjdk.org/jdk/pull/9306



More information about the security-dev mailing list