On Wed, 13 Nov 2024 11:42:11 GMT, Coleen Phillimore <cole...@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 it is great to see all this code go but I'm unclear about the uses of 
"protection domain" that have been removed, compared to those that still remain 
in the hotspot code in particular how CDS still uses it. To be fair I'm unclear 
what role PD still plays on the JDK side and would not be surprised if it is 
destined for removal at some point. How do we recognise that the remaining uses 
of and reference to the PD are still needed and not something we could now 
delete?

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

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

Reply via email to