[ipv6] Re: SocketAddress.toString() and RFC 2732

2019-06-10 Thread Chris Hegarty
Thanks for reporting this Chris, and Alan for filing an issue to track it. That issue is: https://bugs.openjdk.java.net/browse/JDK-8225499 ( which links to the IPv6-only work that Alan mentioned ) -Chris. > On 8 Jun 2019, at 07:38, Alan Bateman wrote: > > On 07/06/2019 19:46, Chris wrote:

Re: SocketAddress.toString() and RFC 2732

2019-06-07 Thread Alan Bateman
On 07/06/2019 19:46, Chris wrote: java.net.SocketAddress can represent an IPv6 address with port. Because parts of an IPv6 address are separated with colons and a colon is also used to separate the address from the port, RFC 2732 specifies that the address be in square brackets in this case, e.g.