JDK-8224019 : test/jdk/java/nio/channels/DatagramChannel/BasicMulticastTests.java assumes IPv4 is always available
  • Type: Sub-task
  • Component: core-libs
  • Sub-Component: java.nio
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2019-05-16
  • Updated: 2019-07-05
  • Resolved: 2019-05-20
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 13
13 b22Fixed
Description
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.