[ipv6]: 8224019: test/jdk/java/nio/channels/DatagramChannel/BasicMulticastTests.java assumes IPv4 is always available

Arthur Eubanks aeubanks at google.com
Thu May 16 00:45:18 UTC 2019


bug: https://bugs.openjdk.java.net/browse/JDK-8224019
webrev: http://cr.openjdk.java.net/~aeubanks/8224019/webrev.00/index.html

test/jdk/java/nio/channels/DatagramChannel/BasicMulticastTests.java assumes
NetworkConfiguration.probe().ip4MulticastInterfaces().iterator() always has
at least one NetworkInterface. Instead it should do something like the IPv6
code right after it where it checks that the iterator is not empty.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/net-dev/attachments/20190515/e276da56/attachment.html>


More information about the net-dev mailing list