hg: jdk/jdk: 8233016: javax.crypto.Cipher throws NPE for the given custom CipherSpi and Provider

valerie.peng at oracle.com valerie.peng at oracle.com
Thu Dec 5 03:57:00 UTC 2019


Changeset: 832efc785f53
Author:    valeriep
Date:      2019-12-05 03:55 +0000
URL:       https://hg.openjdk.java.net/jdk/jdk/rev/832efc785f53

8233016: javax.crypto.Cipher throws NPE for the given custom CipherSpi and Provider
Summary: Changed to throw IAE instead of NPE for non-null invalid arguments
Reviewed-by: mullan

! src/java.base/share/classes/javax/crypto/Cipher.java



More information about the jdk-changes mailing list