Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8233296 MulticastSocket getOption/setOption inverts the value of IP_MULTICAST_LOOP
  3. JDK-8234643

Release Note: The behavior of MulticastSocket getOption/setOption for IP_MULTICAST_LOOP is changed to conform the specification of StandardSocketOptions.IP_MULTICAST_LOOP

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: P4
    • Resolution: Delivered
    • Affects Version/s: 14
    • Fix Version/s: 14
    • Component/s: core-libs
    • Labels:

      Description

      The `MulticastSocket` methods `getOption` and `setOption` are now changed to conform to the behavior described in `StandardSocketOptions.IP_MULTICAST_LOOP`.
      `MulticastSocket.getOption(StandardSocketOptions.IP_MULTICAST_LOOP)` now returns true if loopback mode is enabled, and `MulticastSocket.setOption(StandardSocketOptions.IP_MULTICAST_LOOP, true)` enables loopback mode.

        Attachments

          Activity

            People

            • Assignee:
              dfuchs Daniel Fuchs
              Reporter:
              dfuchs Daniel Fuchs
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: