RFR: 8341916: Remove ProtectionDomain related hotspot code and tests
    Coleen Phillimore 
    coleenp at openjdk.org
       
    Thu Nov 14 12:26:58 UTC 2024
    
    
  
On Wed, 13 Nov 2024 11:42:11 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.
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
    
    
More information about the serviceability-dev
mailing list