jdk/src/java.base/share/classes/sun/security/x509/KeyIdentifier.java
changeset 35283 c5082624b79f
parent 34687 d302ed125dc9
--- a/jdk/src/java.base/share/classes/sun/security/x509/KeyIdentifier.java	Thu Sep 03 09:33:04 2015 +0200
+++ b/jdk/src/java.base/share/classes/sun/security/x509/KeyIdentifier.java	Mon Sep 07 18:58:41 2015 +0300
@@ -148,7 +148,7 @@
             return true;
         if (!(other instanceof KeyIdentifier))
             return false;
-        return java.util.Arrays.equals(octetString,
-                                       ((KeyIdentifier)other).getIdentifier());
+        byte[] otherString = ((KeyIdentifier)other).octetString;
+        return java.util.Arrays.equals(octetString, otherString);
     }
 }