On Tue, 7 Dec 2021 14:35:27 GMT, Daniel Fuchs <dfu...@openjdk.org> wrote:

>> You may encounter some issues when testing with https and IPv6 - Michael is 
>> working on a fix to add the loopback addresses as SNI aliases to the 
>> SimpleSSLContext certificate:
>> https://bugs.openjdk.java.net/browse/JDK-8278312
>
> You could also replace `Boolean.getBoolean("java.net.preferIPv6Addresses")` 
> with a call to `IPSupport::preferIPv6Addresses()`

> ::1 is the ipv6 loopback - not the ipv6 wildcard

Oops, that's embarrassing and it isn't even a copy/paste mistake. I have been 
in this part of the test so many times while cleaning up/debugging and yet 
didn't notice this. Fixed it in the latest PR update now.

I'll update the rest of this test with your suggestions shortly. Thank you 
Daniel for the reviews.



>

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

PR: https://git.openjdk.java.net/jdk/pull/6690

Reply via email to