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

Mark Powers mpowers at openjdk.org
Wed Aug 31 23:01:16 UTC 2022


On Wed, 31 Aug 2022 22:55:09 GMT, Mark Powers <mpowers at openjdk.org> wrote:

>> The tests that we have all pass. I think I'll intentionally break `equals` and see if the tests still pass. From my experience with PKCS#11, there is no reason to check that attribute arrays are equal.
>
> I broke `equals` to always return false, and tests all passed.

Never mind. Dumb test since `equals` is not overridden.

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

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



More information about the security-dev mailing list