RFR: 8220083: Use InetAddress.getLoopbackAddress() in place of 127.0.0.1 for some tests
Martin Buchholz
martinrb at google.com
Mon Mar 11 17:46:47 UTC 2019
These changes are clean progress and allow tests to pass on any of the 4
(!) combinations of IPV4/IPV6 support available. LGTM.
BUT ... in the current multi-protocol world it's probably better to test
against all the interfaces available on the host machine.
Maybe there should be a InetAddress.getLoopbackAddresses (note the plural!)
and tests should run against all the InetAddress objects returned by such
an API?
But this is a big task (mostly spec work I would guess) for the net-dev
team.
On Mon, Mar 11, 2019 at 9:55 AM Arthur Eubanks <aeubanks at google.com> wrote:
> bug: https://bugs.openjdk.java.net/browse/JDK-8220083
> webrev: http://cr.openjdk.java.net/~aeubanks/8220083/webrev.00/
>
> First of a few ipv6 patches to come.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/net-dev/attachments/20190311/544a235a/attachment.html>
More information about the net-dev
mailing list