RFR: 8332623: Remove setTTL()/getTTL() methods from DatagramSocketImpl/MulticastSocket and MulticastSocket.send(DatagramPacket, byte)

Alan Bateman alanb at openjdk.org
Sun May 26 08:56:00 UTC 2024


On Sun, 26 May 2024 08:22:44 GMT, Lei Zhu <duke at openjdk.org> wrote:

> Remove setTTL()/getTTL() methods from DatagramSocketImpl/MulticastSocket and MulticastSocket.send(DatagramPacket, byte)

These methods are proposed to be deprecated for removal in JDK 23, it will be JDK 25, maybe later, before they can be removed.

I'm curious what your motivation is for this PR. Are these methods causing you problems?

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

PR Comment: https://git.openjdk.org/jdk/pull/19404#issuecomment-2132141604


More information about the net-dev mailing list