[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-net-dev
Subject:    Re: [ipv6] Regarding 8220673: Add test library support for determining platform IP support
From:       Arthur Eubanks <aeubanks () google ! com>
Date:       2019-04-16 21:14:33
Message-ID: CAPW48srJ6PWUwo5guPbatSMaLz3b8vmbj8weka-Oouwg78rE9Q () mail ! gmail ! com
[Download RAW message or body]

>
> > 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.

[Attachment #3 (text/html)]

<div dir="ltr"><div class="gmail_quote"><blockquote class="gmail_quote" \
style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex">&gt; Regarding trusting the IPSupport, I have \
checked to make sure that it&#39;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&#39;t throw anything. This was a good idea, \
thanks Daniel.<br> <br>
Indeed. And thanks for verify its behaviour.<br></blockquote><div>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&#39;ll file a bug and send out a patch.</div></div></div>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic