8211842 IPv6_supported wrongly returns false when unix domainsocket is bound to fd 0
Alan.Bateman at oracle.com
Thu Nov 29 19:03:21 UTC 2018
On 29/11/2018 18:04, Bernd Eckenfels wrote:
> I wonder if that conclusion „stdin = tcp4 -> disable tcp6“ is correct
> at all. The started program might serve a v4 connection but it still
> could want to do ipv6 client connections.
> If somebody wants to disable v4 they can do it regularly with the
> System property.
The check is important because the JDK doesn't support having some
Socket or SocketChannel objects be created with IPv4 sockets, and others
with IPv6 sockets. The only exception to this is DatagramChannel where
the protocol family is exposed in the API. The RDMA socket API under
discussion on nio-dev will be another case.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the nio-dev