--- old/src/jdk.crypto.ec/share/classes/sun/security/ec/ECDSASignature.java 2018-05-11 15:06:44.315598200 -0700 +++ new/src/jdk.crypto.ec/share/classes/sun/security/ec/ECDSASignature.java 2018-05-11 15:06:43.836379900 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2009, 2017, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2009, 2018, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -427,6 +427,14 @@ throw new UnsupportedOperationException("setParameter() not supported"); } + @Override + protected void engineSetParameter(AlgorithmParameterSpec params) + throws InvalidAlgorithmParameterException { + if (params != null) { + throw new InvalidAlgorithmParameterException("No parameter accepted"); + } + } + // get parameter, not supported. See JCA doc @Override @Deprecated @@ -435,6 +443,11 @@ throw new UnsupportedOperationException("getParameter() not supported"); } + @Override + protected AlgorithmParameters engineGetParameters() { + return null; + } + // Convert the concatenation of R and S into their DER encoding private byte[] encodeSignature(byte[] signature) throws SignatureException {