RFR: 8332181: Deprecate for removal the java.net.MulticastSocket.setTTL/getTTL and the 2-arg send methods [v2]

Jaikiran Pai jpai at openjdk.org
Fri May 17 11:50:15 UTC 2024


> 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.

Jaikiran Pai has updated the pull request incrementally with one additional commit since the last revision:

  also add forRemoval in internal classes

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/19242/files
  - new: https://git.openjdk.org/jdk/pull/19242/files/b34fbe08..6cece088

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=19242&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=19242&range=00-01

  Stats: 6 lines in 2 files changed: 0 ins; 0 del; 6 mod
  Patch: https://git.openjdk.org/jdk/pull/19242.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/19242/head:pull/19242

PR: https://git.openjdk.org/jdk/pull/19242


More information about the net-dev mailing list