On Tue, 15 Jun 2021 22:37:29 GMT, Valerie Peng <valer...@openjdk.org> wrote:
> Could someone please help review this trivial fix? The real changes are the > two PKCS11 cipher impl classes under > src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/. The rest of > classes are just cleanups, e.g. dead code or unused code. The > test/jdk/javax/crypto/Cipher/TestCipherMode.java is updated to cover more > cipher impls for completeness sake. It passes without this fix, so I only add > the bug id to the the other test, i.e. > test/jdk/sun/security/pkcs11/Cipher/TestCipherMode.java, which verifies the > PKCS#11 cipher impls. > > Thanks, > Valerie This pull request has now been integrated. Changeset: 80dc262e Author: Valerie Peng <valer...@openjdk.org> URL: https://git.openjdk.java.net/jdk17/commit/80dc262e8132204d70b184b32978e6c456460fb0 Stats: 308 lines in 8 files changed: 254 ins; 5 del; 49 mod 8265500: Some impls of javax.crypto.Cipher.init() do not throw UnsupportedOperationExc for unsupported modes Reviewed-by: xuelei ------------- PR: https://git.openjdk.java.net/jdk17/pull/69