RFR: 8344177: Remove SecurityManager and related calls from java.management [v6]
    Kevin Walls 
    kevinw at openjdk.org
       
    Wed Nov 20 14:41:16 UTC 2024
    
    
  
On Wed, 20 Nov 2024 14:37:54 GMT, Kevin Walls <kevinw at openjdk.org> wrote:
>> Remove redundant SecurityManager, AccessController references
>> (following on from JDK-8338411: Implement JEP 486: Permanently Disable the Security Manager).
>
> Kevin Walls has updated the pull request incrementally with two additional commits since the last revision:
> 
>  - Remove checkPackageAccess calls
>  - Remove Util.check... calls
src/java.management/share/classes/sun/management/Util.java:
The checkXXX Permission methods are called by at least jdk.management code outside this module, so leaving in place temporarily, can be removed once other changes are settled.
MBeanServerFileAccessController still has its own "check" methods, for file-based permissions (not SM-based).
Also removing ReflectUtil.checkPackageAccess() calls.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/22100#issuecomment-2488758487
    
    
More information about the serviceability-dev
mailing list