JDK-8234083 : DatagramSocket should report SO_BROADCAST as a supported option
Type:Bug
Component:core-libs
Sub-Component:java.net
Affected Version:9,13
Priority:P4
Status:Resolved
Resolution:Fixed
Submitted:2019-11-13
Updated:2023-07-20
Resolved:2019-11-21
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.
DatagramSocket doesn't specify the socket options that it supports with the setOption/getOption methods. DatagramChannel has a table in its class description. So I'll bet the methods aren't used much with DatagramSocket/MulticastSocket and no-one noticed that SO_BROADCAST wasn't supported.