RFR: 8233319: Deprecate MulticastSocket methods that operate on java.net.InetAddress

Daniel Fuchs daniel.fuchs at oracle.com
Wed Dec 4 17:21:45 UTC 2019


Hi Julia,

Looks good to me.
I wonder however if the links to the deprecated setInterface method
should remain in the two args joinGroup/leaveGroup, since the
behavior is still in effect should you call that method.

best regards

-- daniel

On 04/12/2019 16:40, Julia Boes wrote:
> Hi,
> 
> Please see this fix that deprecates methods of MulticastSocket.
> 
> These methods either operate on InetAddress instead of NetworkInterface 
> or work with SocketOptions.IP_MULTICAST_LOOP instead of 
> StandardSocketOptions.IP_MULTICAST_LOOP.
> 
> Bug: https://bugs.openjdk.java.net/browse/JDK-8233319
> 
> CSR (draft): https://bugs.openjdk.java.net/browse/JDK-8235330
> 
> Webrev and specdiff: http://cr.openjdk.java.net/~jboes/webrevs/8233319/
> 
> 
> Cheers,
> 
> Julia
> 



More information about the net-dev mailing list