-
Bug
-
Resolution: Fixed
-
P3
-
9, 13, 14
-
b27
The socket types in the java.net package do not specify the minimum set
of standard socket options that they are required to support. The set of
"supported" socket options can be retrieved programmatically, with the
supportedOptions() method, but this set may include non-standard socket
options as well as standard ones. To assert compliance checks then the
set of Java SE standard options that are required to be supported should
be explicitly documented in each of the socket types, similar to what is
done for the channels area, e.g. SocketChannel, etc.
For example:
"[[Server|Datagram|Multicast]Socket] supports the following options:
SO_SNDBUF The size of the socket send buffer
SO_RCVBUF The size of the socket receive buffer
...
Additional (implementation specific) options may also be supported."
of standard socket options that they are required to support. The set of
"supported" socket options can be retrieved programmatically, with the
supportedOptions() method, but this set may include non-standard socket
options as well as standard ones. To assert compliance checks then the
set of Java SE standard options that are required to be supported should
be explicitly documented in each of the socket types, similar to what is
done for the channels area, e.g. SocketChannel, etc.
For example:
"[[Server|Datagram|Multicast]Socket] supports the following options:
SO_SNDBUF The size of the socket send buffer
SO_RCVBUF The size of the socket receive buffer
...
Additional (implementation specific) options may also be supported."
- blocks
-
JDK-8230211 Prepare DatagramSocket for alternative DatagramSocketImpl
- Resolved
- csr for
-
JDK-8235185 Specify the required standard socket options for the socket types in the java.net package
- Closed
- duplicates
-
JDK-8234626 Different Socket's:: supportedOptions() behavior mismatch from spec.
- Closed
- relates to
-
JDK-8234626 Different Socket's:: supportedOptions() behavior mismatch from spec.
- Closed