--- old/src/java.base/share/classes/com/sun/crypto/provider/DHPrivateKey.java 2020-08-13 15:33:16.000000000 +0100 +++ new/src/java.base/share/classes/com/sun/crypto/provider/DHPrivateKey.java 2020-08-13 15:33:16.000000000 +0100 @@ -96,8 +96,6 @@ * @param p the prime modulus * @param g the base generator * @param l the private-value length - * - * @exception InvalidKeyException if the key cannot be encoded */ DHPrivateKey(BigInteger x, BigInteger p, BigInteger g, int l) { this.x = x;