RFR: 8341916: Remove ProtectionDomain related hotspot code and tests [v6]

Coleen Phillimore coleenp at openjdk.org
Fri Nov 15 23:43:33 UTC 2024


> Remove Hotspot code that passes protection_domain around class loading so that checkPackageAccess can be called and the result stored.  With the removal of the Security Manager in JEP 486, this code no longer does anything.
> 
> Tested with tier1-4.

Coleen Phillimore has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains nine commits:

 - Handle merge conflicts in new resolve_instance_class calls.
 - Merge branch 'master' into protection-domain
 - Purge last references to SecurityManager.
 - More obsolete code.  Fix trace_class_resolution (doesn't throw exception - shouldn't take TRAPS).
 - Found more obsolete security manager code.
 - More purging of AccessController, AccessControlContext and some stackwalking questions.
 - David comments.
 - Remove some more includes.
 - 8341916: Remove ProtectionDomain related hotspot code and tests

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

Changes: https://git.openjdk.org/jdk/pull/22064/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=22064&range=05
  Stats: 1416 lines in 48 files changed: 1 ins; 1245 del; 170 mod
  Patch: https://git.openjdk.org/jdk/pull/22064.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/22064/head:pull/22064

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


More information about the serviceability-dev mailing list