JDK-8036979 : Support java.net.SocketOption<> in java.net socket types
  • Type: Enhancement
  • Component: core-libs
  • Sub-Component: java.net
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2014-03-10
  • Updated: 2021-03-22
  • Resolved: 2014-04-12
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 9
9 b10Fixed
Related Reports
Duplicate :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Description
The NIO socket channel types have supported the java.net.SocketOption type through two simple
setOption() and getOption() methods, as opposed to the approach used in java.net where each option
has an explicit setter and getter method. One of the benefits of SocketOption is its easy extensibility particular for non standard/OS specific options.

This RFE will add that capability java.net.{Socket,ServerSocket,DatagramSocket,MulticastSocket}