RFR 8144672: (ch) PipeImpl should use localhost instead of loopback address

Martin Buchholz martinrb at google.com
Wed Feb 14 16:40:19 UTC 2018

On Tue, Feb 13, 2018 at 11:42 PM, Alan Bateman <Alan.Bateman at oracle.com>

> (I don't get Martin's comment about using getHostAddress, maybe useful for
> tests but you need an InetAddress here, not a String).

Yeah, I was focused on what we've done to replace the String  ""
and I saw that String here.
TL;DR - use InetAddress.getLoopbackAddress() (as this change proposes)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/nio-dev/attachments/20180214/cf0cd6a9/attachment.html>

More information about the nio-dev mailing list