-
Sub-task
-
Resolution: Delivered
-
P4
-
13
-
Verified
The default implementation of the `supportedOptions()`, `getOption(SocketOption<T>)` and `setOption(SocketOption<T>, T)` methods, defined by `java.net.SocketImpl` and `java.net.DatagramSocketImpl`, have changed in this release. The default implementation of the `supportedOptions()` method has been changed to return an empty set. The default implementations of the `getOption(SocketOption<T>)` and `setOption(SocketOption<T>, T)` methods have been changed to throw `UnsupportedOperationException`.
Developers extending `java.net.SocketImpl` or `java.net.DatagramSocketImpl` to create their own socket or datagram socket implementations need to override these methods to support the socket options that the custom socket implementation supports.
Developers extending `java.net.SocketImpl` or `java.net.DatagramSocketImpl` to create their own socket or datagram socket implementations need to override these methods to support the socket options that the custom socket implementation supports.