On Mon, 18 May 2026 04:38:59 GMT, Rajan Halade <[email protected]> wrote:

> Updated these two tests to generate and use certificates. 
> 
> ---------
> - [x] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

test/jdk/sun/security/ssl/X509KeyManager/SelectOneKeyOutOfMany.java line 85:

> 83: 
> 84:         //  String chooseClientAlias(String[] keyType, Principal[] 
> issuers, Socket socket)
> 85:         Asserts.assertNull(km.chooseClientAlias(new String[]{NOTHING}, 
> null, null),

The message says getServerAliases but the method under test is chooseClientAlias

test/jdk/sun/security/ssl/X509KeyManager/SelectOneKeyOutOfMany.java line 107:

> 105:         //  String chooseServerAlias(String keyType, Principal[] 
> issuers, Socket socket)
> 106:         Asserts.assertNull(km.chooseServerAlias(NOTHING, null, null),
> 107:                 "getServerAliases shouldn't return alias for unsupported 
> type");

The message says getServerAliases but the method under test is 
chooseServerAlias.

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/31186#discussion_r3256822060
PR Review Comment: https://git.openjdk.org/jdk/pull/31186#discussion_r3256827129

Reply via email to