RFR: 8369950: TLS connection to IPv6 address fails with BCJSSE due to IllegalArgumentException [v5]

Sergey Chernyshev schernyshev at openjdk.org
Thu Dec 4 14:00:38 UTC 2025


On Wed, 3 Dec 2025 08:45:54 GMT, Volkan Yazici <vyazici at openjdk.org> wrote:

>> Sergey Chernyshev has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   test that ipv4 literals do not propagate to the server names list
>
> test/jdk/javax/net/ssl/HttpsURLConnection/SubjectAltNameIPv6.java line 140:
> 
>> 138: 
>> 139:         var sniSN = clientSSLSocket.getSSLParameters().getServerNames();
>> 140:         if( sniSN != null && !sniSN.isEmpty()) {
> 
> `if( sniSN` ➝ `if (sniSN`

Thanks, done.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/28577#discussion_r2589190236


More information about the security-dev mailing list