RFR: 8341916: Remove ProtectionDomain related hotspot code and tests

Coleen Phillimore coleenp at openjdk.org
Thu Nov 14 13:11:13 UTC 2024


On Thu, 14 Nov 2024 08:28:14 GMT, Alan Bateman <alanb at openjdk.org> wrote:

>> 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.
>
> @coleenp Do you plan a follow-up to purge the remaining refs to AccessController and AccessControlContext?

@AlanBateman  there was that AccessControlContext in the stack that I asked about in the main review that I can't find the answer to.  Is it obsolete now?  See the change for where I asked this question.  Thank you!

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

PR Comment: https://git.openjdk.org/jdk/pull/22064#issuecomment-2476311805


More information about the serviceability-dev mailing list