Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8179559

Solaris MulticastSocket issues

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 10
    • 10
    • core-libs
    • None
    • b07

        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.

              michaelm Michael McMahon
              michaelm Michael McMahon
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: