RFR: 8216984: Deprecate for removal Socket constructors to create UDP sockets

Alan Bateman alanb at openjdk.org
Wed May 29 06:12:00 UTC 2024


On Wed, 29 May 2024 05:48:44 GMT, Jaikiran Pai <jpai at openjdk.org> wrote:

> Hello Alan, I've updated the PR to include a note on `SocketImpl.create(...)`. Does the wording look correct? I'll update the CSR too once we finalize on the text.

SocketImpl is for implementors (it's not a user facing API) so something like the following might be a better fit:

"The Socket constructors to create a datagram socket are deprecated for removal. This method will be re-specified in a future release to not support creating datagram sockets."

-------------

PR Comment: https://git.openjdk.org/jdk/pull/19441#issuecomment-2136588522


More information about the net-dev mailing list