diff --git a/src/jdk.crypto.ec/share/classes/sun/security/ec/ECPublicKeyImpl.java b/src/jdk.crypto.ec/share/classes/sun/security/ec/ECPublicKeyImpl.java index b4cc275779f..901fe859b7c 100644 --- a/src/jdk.crypto.ec/share/classes/sun/security/ec/ECPublicKeyImpl.java +++ b/src/jdk.crypto.ec/share/classes/sun/security/ec/ECPublicKeyImpl.java @@ -140,14 +140,6 @@ protected Object writeReplace() throws java.io.ObjectStreamException { getEncoded()); } - /** - * Returns true if this key's EC field is an instance of ECFieldF2m. - * @return true if the field is an instance of ECFieldF2m, false otherwise - */ - boolean isECFieldF2m() { - return this.params.getCurve().getField() instanceof ECFieldF2m; - } - /** * Returns the native EC public key context pointer. * @return the native EC public key context pointer or -1 on error