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.

Thanks for looking through these changes.  Thanks @AlanBateman  for answering 
the question about remaining uses of protection domain.  When we create an 
instance of java.lang.Class, the VM stores the protection domain given in 
resolve_from_stream.  I may have already said this somewhere.  So we need to 
pass it through that path.

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

PR Review: https://git.openjdk.org/jdk/pull/22064#pullrequestreview-2435924412

Reply via email to