On Wed, 20 Nov 2024 14:37:54 GMT, Kevin Walls <kev...@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

Reply via email to