JDK-8223452 : 8216978 inadvertently changed the behaviour of the default implementation of SocketImpl::supportedOptions
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.net
  • Affected Version: 13
  • Priority: P4
  • Status: Resolved
  • Resolution: Not an Issue
  • Submitted: 2019-05-07
  • Updated: 2019-06-05
  • Resolved: 2019-06-05
Related Reports
Relates :  
Description
JDK-8216978 inadvertently changed the behaviour of the default implementation of `SocketImpl::supportedOptions` ( get/setOption too ). `supportedOptions` previously returned ���server��� options, it now returns ���client��� options.
Comments
This has been subsequently resolved by the changes for JDK-8224477.
05-06-2019

Maybe simply restore the original behaviour, or reconsider what the default implementation should do, e.g. return an empty set, etc.
07-05-2019