JDK-8234643 : Release Note: Behavior of MulticastSocket getOption/setOption for IP_MULTICAST_LOOP Conforms With the StandardSocketOptions.IP_MULTICAST_LOOP Specification
  • Type: Sub-task
  • Component: core-libs
  • Sub-Component: java.net
  • Affected Version: 14
  • Priority: P4
  • Status: Closed
  • Resolution: Delivered
  • Submitted: 2019-11-22
  • Updated: 2020-04-27
  • Resolved: 2019-11-22
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 14
14Resolved
Description
The `MulticastSocket` methods `getOption` and `setOption` have been changed to conform to the behavior described in the `StandardSocketOptions.IP_MULTICAST_LOOP` specification.
`MulticastSocket.getOption(StandardSocketOptions.IP_MULTICAST_LOOP)` now returns true if loopback mode is enabled. Setting `MulticastSocket.setOption(StandardSocketOptions.IP_MULTICAST_LOOP, true)` enables loopback mode.