RFR: 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 [v2]

Daniel Fuchs dfuchs at openjdk.org
Fri Nov 22 15:08:33 UTC 2024


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

Daniel Fuchs has updated the pull request incrementally with one additional commit since the last revision:

  MAX_DATA_REMAINING should be long; review feedback

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/22321/files
  - new: https://git.openjdk.org/jdk/pull/22321/files/ac6ecb1d..13559b32

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

  Stats: 8 lines in 2 files changed: 1 ins; 3 del; 4 mod
  Patch: https://git.openjdk.org/jdk/pull/22321.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/22321/head:pull/22321

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


More information about the net-dev mailing list