RFR: 8344217: Remove calls to SecurityManager and doPrivileged in java.net.DatagramSocket and java.net.NetMulticastSocket after JEP 486 integration [v2]

Daniel Fuchs dfuchs at openjdk.org
Fri Nov 22 11:08:36 UTC 2024


> Please find here a patch that removes use of SecurityManager and doPrivileged in DatagramSocket/MulticastSocket implementation.
> 
> Some allusion to the SecurityManager was missed in DatagramSocket::connect, so this patch contains a small API documentation change that will require a CSR.

Daniel Fuchs has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains three additional commits since the last revision:

 - Simplify wording in DatagramSocket::connect
 - Merge branch 'master' into DS-SM-8344217
 - 8344217: Remove calls to SecurityManager and and doPrivileged in java.net.DatagramSocket and java.net.NetMulticastSocket after JEP 486 integration

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/22303/files
  - new: https://git.openjdk.org/jdk/pull/22303/files/668e0f99..72b67a89

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

  Stats: 4859 lines in 149 files changed: 1002 ins; 3409 del; 448 mod
  Patch: https://git.openjdk.org/jdk/pull/22303.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/22303/head:pull/22303

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


More information about the net-dev mailing list