Skip multicast test if it is not supported
DatagramChannelMulticastTest had some tests that
would not check the supportsMulticast flag to see
if they should execute before accessing fields that
are not initialized when supportsMulticast
supportsMulticast is set to false when the system
property "android.cts.device.multicast" is "false"
(normally provided by the CTS runner).
Thanks to bohu@ for the original fix.
Test: vogar --vm-arg "-Dandroid.cts.device.multicast=false" \
1 file changed