Integrated: 8344217: Remove calls to SecurityManager and doPrivileged in java.net.DatagramSocket and java.net.NetMulticastSocket after JEP 486 integration

Daniel Fuchs dfuchs at openjdk.org
Mon Nov 25 10:11:24 UTC 2024


On Thu, 21 Nov 2024 18:43:55 GMT, Daniel Fuchs <dfuchs at openjdk.org> wrote:

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

This pull request has now been integrated.

Changeset: 519bb268
Author:    Daniel Fuchs <dfuchs at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/519bb268a0687ba2b75738e961a72d84b7f49ade
Stats:     125 lines in 2 files changed: 5 ins; 113 del; 7 mod

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

Reviewed-by: alanb, rriggs, jpai

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

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


More information about the net-dev mailing list