RFR: 8244958: preferIPv4Stack and preferIPv6Addresses do not affect addresses returned by HostsFileNameService
Alan Bateman
Alan.Bateman at oracle.com
Tue May 26 12:50:53 UTC 2020
On 26/05/2020 11:22, Aleks Efimov wrote:
> Hi Alan,
>
> Thank you for the review. I've renamed 'appendAddresses' to
> 'concatAddresses' per your suggestion.
> And also removed 'arrangeAddresses' method and moved its code to
> 'lookupAllHostAddr'.
>
> Webrev with new version can be viewed here:
> http://cr.openjdk.java.net/~aefimov/8244958/02
Thanks, this looks okay to me (I agree with Daniel that isEmpty is a bit
better).
-Alan
More information about the net-dev
mailing list