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

Solaris MulticastSocket issues

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 10
    • Fix Version/s: 10
    • Component/s: core-libs
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b07

      Backports

        Description

        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.

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  Created:
                  Updated:
                  Resolved: