Integrated: 8332181: Deprecate for removal the MulticastSocket.send(DatagramPacket, byte) and setTTL/getTTL methods on DatagramSocketImpl and MulticastSocket
Jaikiran Pai
jpai at openjdk.org
Tue May 21 06:40:06 UTC 2024
On Wed, 15 May 2024 04:20:09 GMT, Jaikiran Pai <jpai at openjdk.org> wrote:
> Can I please get a review of this change which proposes to deprecate for removal 3 methods on `java.net.MulticastSocket`? This addresses https://bugs.openjdk.org/browse/JDK-8332181.
>
> As noted in that issue these methods have been deprecated since Java 1.2 and 1.4 days. They currently have replacement methods (noted in their javadoc) which have been in use for several releases. This commit updates these deprecated methods to deprecated for removal, to allow for their removal in a future release.
>
> No new tests have been added and existing tests in tier1, tier2 and tier3 continue to pass.
This pull request has now been integrated.
Changeset: ce99198e
Author: Jaikiran Pai <jpai at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/ce99198e3a6dc81865c518b1fe4a67e93b8ebdd1
Stats: 17 lines in 4 files changed: 2 ins; 3 del; 12 mod
8332181: Deprecate for removal the MulticastSocket.send(DatagramPacket, byte) and setTTL/getTTL methods on DatagramSocketImpl and MulticastSocket
Reviewed-by: dfuchs, iris, alanb
-------------
PR: https://git.openjdk.org/jdk/pull/19242
More information about the net-dev
mailing list