RFR: JDK-8291509 Minor cleanup could be done in sun.security [v3]

Weijun Wang weijun at openjdk.org
Wed Aug 31 22:34:18 UTC 2022


On Wed, 31 Aug 2022 22:29:59 GMT, Weijun Wang <weijun at openjdk.org> wrote:

>> Sorry, I meant `equals`. Why cannot we just compare with `other.map`?
>
> Ah, I see. The key for an attr might not be the id.

In fact, I am not sure if this method works now. `PKCS10Attribute` has not overridden `equals`.

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

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



More information about the security-dev mailing list