On Tue, 28 Jun 2022 08:33:58 GMT, Jayashree Huttanagoudar <d...@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 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 simply update the `!=` to `==`. Also, please add a regression test. Since this is about testing an internal method, you are free to add `@modules java.base/sun.security.x509` to access it. ------------- PR: https://git.openjdk.org/jdk/pull/9306