Methods of MulticastSocket to deprecate (1) and their equivalent (2):
(1) getInterface()
(2) getNetworkInterface()
(1) joinGroup(InetAddress mcastaddr)
(2)joinGroup(SocketAddress mcastaddr, NetworkInterface netIf)
(1) leaveGroup(InetAddress mcastaddr)
(2) leaveGroup(SocketAddress mcastaddr, NetworkInterface netIf)
(1) setInterface(InetAddress inf)
(2) setNetworkInterface(NetworkInterface netIf)
(1) getLoopbackMode()
(2) DatagramSocket.getOption(IP_MULTICAST_LOOP)
(1) setLoopbackMode(boolean disable)
(2) DatagramSocket.setOption(IP_MULTICAST_LOOP, enable)
Deprecation only, not for removal.