Integrated: 8344855: Remove calls to SecurityManager and doPrivileged in HTTP related implementation classes in the sun.net and sun.net.www.http packages after JEP 486 integration

Daniel Fuchs dfuchs at openjdk.org
Mon Nov 25 09:59:23 UTC 2024


On Fri, 22 Nov 2024 12:58:11 GMT, Daniel Fuchs <dfuchs at openjdk.org> wrote:

> Some further cleaning in the legacy HTTP implementation. 
> Usual removal of doPrivileged, GetPropertyAction, checkPermission, etc...
> 
> I also took the opportunity to also remove some constructors that were never called in the legacy HttpClient, and to fix some throws signatures.

This pull request has now been integrated.

Changeset: d112f35d
Author:    Daniel Fuchs <dfuchs at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/d112f35d92a5b5f3e0248fa0fb447fc8c14da2d4
Stats:     168 lines in 7 files changed: 3 ins; 117 del; 48 mod

8344855: Remove calls to SecurityManager and doPrivileged  in HTTP related implementation classes in the sun.net and sun.net.www.http packages after JEP 486 integration

Reviewed-by: jpai

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

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


More information about the net-dev mailing list