RFR: 8344857: Remove calls to SecurityManager and doPrivileged in SocketExceptions and URLJarFile in the sun.net package after JEP 486 integration

Jaikiran Pai jpai at openjdk.org
Mon Nov 25 00:41:25 UTC 2024


Can I please get a review of this change which cleans up the usages of SecurityManager APIs from a couple of `sun.net` packages? This addresses https://bugs.openjdk.org/browse/JDK-8344857.

No new tests have been added and existing tests in tier1, tier2 and tier3 continue to pass.

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

Commit messages:
 - 8344857: Remove calls to SecurityManager and doPrivileged  in SocketExceptions and URLJarFile in the sun.net package after JEP 486 integration

Changes: https://git.openjdk.org/jdk/pull/22352/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=22352&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8344857
  Stats: 50 lines in 2 files changed: 0 ins; 24 del; 26 mod
  Patch: https://git.openjdk.org/jdk/pull/22352.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/22352/head:pull/22352

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


More information about the net-dev mailing list