Fix DatagramChannelMulticastTest#test_multicastLoopOption_IPv6
DatagramChannelMulticastTest#test_multicastLoopOption_IPv6 was failed
because any SocketAddress can't be received from DatagramChannel.
The defect comes from that network interface for send is unspecified
to the DatagramChannel while sending multicast datagrams.
We should apply the modification of
"Fix DatagramChannelMulticastTest#test_joinAnySource_IPv6" here as well.
Bug: 63515474
Test: libcore.java.nio.channels.DatagramChannelMulticastTest
Test: Confirmed that on some devices, the following test
fails before this CL:
libcore.java.nio.channels.DatagramChannelMulticastTest#test_multicastLoopOption_IPv6
(cherry picked from commit 5ff0c539e8e8944a8d5aab97669fc0b6b0b3288e)
Change-Id: Ib31c2b0d24badc70f21fa4577de540589564ad41
1 file changed