RFR: 8356154: Respecify java.net.Socket constructors that allow creating UDP sockets to throw IllegalArgumentException [v8]

Jaikiran Pai jpai at openjdk.org
Wed May 7 10:40:15 UTC 2025


On Wed, 7 May 2025 10:34:07 GMT, Alan Bateman <alanb at openjdk.org> wrote:

> Okay with me but for SocketImpl then I think it has to be an apiNote as the create method is not deprecated. 

Makes sense.

> BTW: "Use DatagramSocket instead for UDP transport" switches the terminology. The first sentence uses "datagram socket" so I best to use that in the second sentence to avoid "UDP" and "transport".

I agree, I'll use "datagram socket".

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

PR Review Comment: https://git.openjdk.org/jdk/pull/25031#discussion_r2077336378


More information about the net-dev mailing list