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

Coleen Phillimore coleenp at openjdk.org
Thu Nov 14 14:03:50 UTC 2024


On Thu, 14 Nov 2024 13:40:22 GMT, Coleen Phillimore <coleenp 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.
>
> Coleen Phillimore has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Found more obsolete security manager code.

The stack walk ignoring AccessControlContext was in some logging code, so now removed.  Also, I saw that getClassContext was rewritten, so removed that bit too.

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

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


More information about the graal-dev mailing list