On Wed, 2 Sep 2026 15:52:38 GMT, Mark Powers <[email protected]> wrote:
>> Add ML-DSA and ML-KEM default parameter sets for `keytool -genkeypair`. >> >> --------- >> - [x] I confirm that I make this contribution in accordance with the >> [OpenJDK Interim AI Policy](https://openjdk.org/legal/ai). > > src/java.base/share/classes/sun/security/tools/keytool/CertAndKeyGen.java > line 154: > >> 152: try { >> 153: >> keyGen.initialize(keyType.toUpperCase(Locale.ROOT).equals("EC") >> 154: ? new ECGenParameterSpec(name) > > `ECGenParameterSpec` is also used in the catch below, so it seems the code is > duplicated. Yes, that code can be deleted now. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/32616#discussion_r3928555977
