RFR: 8344315: Clean up sun.net.www.protocol.jrt.JavaRuntimeURLConnection after JEP 486 integration

Jaikiran Pai jpai at openjdk.org
Fri Nov 15 16:01:26 UTC 2024


Can I please get a review of this change which removes references to `AccessController.doPriveleged()` and also removes a security check?

Specifically:

- The `AccessController.doPriveleged()` has been removed from the implementation.
- The overridden `getPermission()` method has been removed from this internal implementation class.
- The call to `URLClassPath.checkURL()` which used to invoke a SecurityManager check in the presence of a SecurityManager has been removed.

No new test has been introduced and tier1 and tier2 testing is currently in progress.

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

Commit messages:
 - 8344315: Clean up sun.net.www.protocol.jrt.JavaRuntimeURLConnection after JEP 486 integration

Changes: https://git.openjdk.org/jdk/pull/22151/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=22151&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8344315
  Stats: 17 lines in 1 file changed: 0 ins; 14 del; 3 mod
  Patch: https://git.openjdk.org/jdk/pull/22151.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/22151/head:pull/22151

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


More information about the net-dev mailing list