Integrated: 8344112: Remove code to support security manager execution mode from DatagramChannel implementation
Alan Bateman
alanb at openjdk.org
Wed Nov 13 16:53:49 UTC 2024
On Wed, 13 Nov 2024 14:07:44 GMT, Alan Bateman <alanb at openjdk.org> wrote:
> Remove code required for the now defunct SecurityManager execution mode from DatagramChannelImpl. Dropping this execution mode means that untrustedReceive can be removed. Additionally, blockingReceive (used to support the adaptor) no longer needs a loop to drop datagrams that the SecurityManager rejects.
>
> Once this change is in then it allow reverting some changes introduced to avoid pinning in the adaptor's receive method, a consequence of have both JEP 486 and JEP 491 integrated.
This pull request has now been integrated.
Changeset: 7be77725
Author: Alan Bateman <alanb at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/7be77725eab6f45d8f8d23f2ba0d18d2d89a40aa
Stats: 206 lines in 2 files changed: 4 ins; 168 del; 34 mod
8344112: Remove code to support security manager execution mode from DatagramChannel implementation
Reviewed-by: dfuchs
-------------
PR: https://git.openjdk.org/jdk/pull/22072
More information about the nio-dev
mailing list