RFR: 8185127: Add tests to cover hashCode() method for java supported crypto key types [v8]

Valerie Peng valeriep at openjdk.java.net
Tue Apr 27 17:28:40 UTC 2021


On Tue, 27 Apr 2021 08:13:03 GMT, Sibabrata Sahoo <ssahoo at openjdk.org> wrote:

>> This is a simple Test to add few additional API coverage for all java supported key types. The objective of this Test is to cover equals() and hashcode() methods for each key types.
>
> Sibabrata Sahoo has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Update CompareKeys.java

Update looks good.

test/jdk/javax/crypto/KeyGenerator/CompareKeys.java line 123:

> 121:             for (Provider.Service s : p.getServices()) {
> 122:                 // Ignore the algorithms from the list which require
> 123:                 // pre-initialisation to make the Test generic across algorithms.

nit: typo? initialisation => initialization

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

Marked as reviewed by valeriep (Reviewer).

PR: https://git.openjdk.java.net/jdk/pull/3490



More information about the security-dev mailing list