On Wed, 14 Apr 2021 17:37:00 GMT, Sibabrata Sahoo <ssa...@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: > > Comment changed. > > Comment changed. test/jdk/javax/crypto/KeyGenerator/CompareKeys.java line 73: > 71: && !Arrays.equals(origKey.getEncoded(), > copyKey.getEncoded()) > 72: && origKey.hashCode() != copyKey.hashCode()) { > 73: throw new RuntimeException("Key inequality found"); Check the format equality as well? ------------- PR: https://git.openjdk.java.net/jdk/pull/3490