[openjdk-x] Bind to a multicast address fails

Alan Bateman Alan.Bateman at oracle.com
Mon Sep 10 14:09:04 UTC 2018


On 10/09/2018 14:53, Chris Hegarty wrote:
>
> On 10/09/18 10:22, vyom tewari wrote:
>> ...
>> Hi Andre,
>>
>> i will apply your patch run our all network tests. I will update once 
>> i will have result.
>
> The patch in question is in the description of 
> https://bugs.openjdk.java.net/browse/JDK-8210493, correct?
> I'm posting it in this thread for reference [*].
>
> The proposed change is in the NET_InetAddressToSockaddr
> function, which is used in many places. I wonder is this
> change should rather be confined to PlainDatagramSocketImpl
> bind ( since this is the only reported issue arising from
> limiting the addition of the scope to link-local ) ?
>
If there is a DatagramSocket or DatagramChannel bound to a multicast 
address then it has be possible to connect to that address too. So we 
may need it for the connect methods - that should become obvious once 
some sets up an environment and starts to extend the existing tests to 
bind to IPv6 multicast addresses.

-Alan


More information about the net-dev mailing list