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

Alan Bateman alanb at openjdk.org
Thu Nov 14 14:45:29 UTC 2024


On Thu, 14 Nov 2024 14:03:50 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:
> 
>   More obsolete code.  Fix trace_class_resolution (doesn't throw exception - shouldn't take TRAPS).

I see a few left over refs to SecurityManager in vmSymbols.hpp, vmClassMacros.hpp, and a comment in logDiagnosticCommand.hpp.

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

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


More information about the serviceability-dev mailing list