[ipv6] Regarding 8220673: Add test library support for determining platform IP support

Arthur Eubanks aeubanks at google.com
Tue Apr 16 21:14:33 UTC 2019


>
> > Regarding trusting the IPSupport, I have checked to make sure that it's
> reasonable. It correctly throws a jtreg.SkippedException when
> preferIPv4Stack is true and IPv4 is not available, and leaves the other
> cases alone. This was tested with an LD_PRELOAD that returns an error on
> `socket()`, `setsockopt()`, and `getifaddrs()` on IPv4 addresses. Under a
> typical dual stack configuration it doesn't throw anything. This was a good
> idea, thanks Daniel.
>
> Indeed. And thanks for verify its behaviour.
>
I lied, it worked on our JDK which has some IPv6 patches, not the upstream
JDK. I think to properly test this, first I need to upstream a tiny portion
of the patches we have to the JDK. I'll file a bug and send out a patch.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/net-dev/attachments/20190416/165ff721/attachment.html>


More information about the net-dev mailing list