Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8266868 | 8u311 | Yoshiki Sato | P4 | Resolved | Fixed | b01 |
Two Solaris issues with Multicast sockets which seem to arise when IPv6 is enabled but a number of interfaces do not have a normal IPv6 address assigned. Instead the system reports that each interface has the address ::0 assigned.
1. First issue is that MulticastSocket.getInterface() uses NetworkInterface.getByInetAddress() to retrieve the interface from the socket's multicast interface address. If that address is ::0 then this logic is broken because there can be multiple interfaces with ::0 assigned. Solution is to cycle through all interfaces looking for the socket's multicast interface address.
2. IPv6 multicasting does not work on Solaris unless the network interface used has a normal IPv6 address assigned (other than ::0). A number of tests need to be changed to check for ::0 before choosing to use IPv6 for the test.
1. First issue is that MulticastSocket.getInterface() uses NetworkInterface.getByInetAddress() to retrieve the interface from the socket's multicast interface address. If that address is ::0 then this logic is broken because there can be multiple interfaces with ::0 assigned. Solution is to cycle through all interfaces looking for the socket's multicast interface address.
2. IPv6 multicasting does not work on Solaris unless the network interface used has a normal IPv6 address assigned (other than ::0). A number of tests need to be changed to check for ::0 before choosing to use IPv6 for the test.
- backported by
-
JDK-8266868 Solaris MulticastSocket issues
-
- Resolved
-
- relates to
-
JDK-8134989 java/net/MulticastSocket/TestInterfaces.java failed due to unexpected IP address
-
- Resolved
-
-
JDK-8171217 java/net/MulticastSocket/Test.java failing consistently on Solaris
-
- Closed
-
-
JDK-8134989 java/net/MulticastSocket/TestInterfaces.java failed due to unexpected IP address
-
- Resolved
-