[teststabilization] RFR: 8223463: Replace wildcard address with loopback or local host in tests - part 2

Alan Bateman Alan.Bateman at oracle.com
Tue May 7 15:17:43 UTC 2019


On 07/05/2019 16:06, Daniel Fuchs wrote:
> Hi,
>
> Some more tests seen failing when using the wildcard address.
> One of them actually needs the wildcard so for that one I simply
> edited the summary to make it clear. There are more in the pipe
> after those are fixed...
>
> http://cr.openjdk.java.net/~dfuchs/webrev_8223463/webrev.00/
This looks good. In passing, it might be clearer if 
AcceptInheritHandle.test named is argument args rather than sysProps as 
it's an array of arguments for the child. Also you could use
Arrays.stream(sysProps).anyMatch("-Djava.net.preferIPv4Stack=true"::equals)
to avoid the Set if you want.

-Alan


More information about the net-dev mailing list