adding rsockets support into JDK
chris.hegarty at oracle.com
Thu Nov 29 14:27:29 UTC 2018
> On 29 Nov 2018, at 14:22, Alan Bateman <Alan.Bateman at oracle.com> wrote:
> On 29/11/2018 13:57, Chris Hegarty wrote:
>> 1) What is the behaviour, and does it need to be specified, if a socket
>> of one family type is either bound or connected to an address of a
>> different family type?
> In the case of Socket/ServerSocket, the bind and connect methods specify IAE when the SocketAddress is not supported. For SocketChannel/ServerSocketChannel, UnsupportedAddressTypeException (a specific IAE) is specified. So I think we are okay on this point.
Right, I think this should be noted in the factory methods, so that it is
clear to developers.
More information about the nio-dev