JDK-8234148 : DatagramSocket.setOption/getOption/supportedOption should support multicast options
  • Type: Enhancement
  • Component: core-libs
  • Sub-Component: java.net
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2019-11-14
  • Updated: 2020-02-12
  • Resolved: 2019-12-09
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
14 b27Fixed
Related Reports
Blocks :  
Description
DatagramSocket can be used to send multicast datagrams but surprisingly it's not possible to set the IP_MULTICAST_IF or IP_MULTICAST_TTL socket options with its setOption method.

We should remove this artificial limitation so that DatagramSocket can be implemented on DatagramChannel. Removing this restriction will also simplify PlainDatagramSocketImpl.
Comments
URL: https://hg.openjdk.java.net/jdk/jdk/rev/9cb141c7329f User: pconcannon Date: 2019-12-09 14:39:39 +0000
09-12-2019