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. ------------- Commit messages: - 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=00 Issue: https://bugs.openjdk.org/browse/JDK-8341916 Stats: 1267 lines in 42 files changed: 1 ins; 1104 del; 162 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