git: openjdk/jdk: master: 8360463: Ambiguity in Cipher.getInstance() specification between NoSuchAlgorithmException and NoSuchPaddingException

Valerie Peng valeriep at openjdk.org
Thu Sep 25 18:13:49 UTC 2025


Changeset: 5c596e2a
Branch: master
Author:    Valerie Peng <valeriep at openjdk.org>
Date:      2025-09-25 18:10:58 +0000
URL:       https://git.openjdk.org/jdk/commit/5c596e2a9599e1e0eb9ec845f1b6e0e7b59f186a

8360463: Ambiguity in Cipher.getInstance() specification between NoSuchAlgorithmException and NoSuchPaddingException

Reviewed-by: mullan

! src/java.base/share/classes/javax/crypto/Cipher.java
! test/jdk/com/sun/crypto/provider/Cipher/ChaCha20/unittest/ChaCha20CipherUnitTest.java



More information about the jdk-changes mailing list