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

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


On Thu, 14 Nov 2024 13:02: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 two additional commits since the last revision:
> 
>  - More purging of AccessController, AccessControlContext and some stackwalking questions.
>  - David comments.

hotspot/share/include/jvm.h:JVM_GetClassContext(JNIEnv *env);

I think this is obsolete too.

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

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


More information about the serviceability-dev mailing list