RFR: 8185127: Add tests to cover hashCode() method for java supported crypto key types [v2]
Valerie Peng
valeriep at openjdk.java.net
Wed Apr 21 00:22:15 UTC 2021
On Fri, 16 Apr 2021 07:37:43 GMT, Sibabrata Sahoo <ssahoo at openjdk.org> wrote:
>> Should be || instead of &&? Would also be nice to know which one(s) failed.
>
> Considering equality and hashCode check may not be same for all KeyTypes, i have relaxed the verification with || operator. Also added print statement for possible failure checks. Added verification for format too.
I am not too sure about this check, please see my other comment.
-------------
PR: https://git.openjdk.java.net/jdk/pull/3490
More information about the security-dev
mailing list