RFR: 8345984: Remove redundant checkXXX methods from java.management Util class

Alan Bateman alanb at openjdk.org
Wed Dec 11 12:58:38 UTC 2024


On Wed, 11 Dec 2024 12:17:55 GMT, Kevin Walls <kevinw at openjdk.org> wrote:

> A post-SecurityManager removal cleanup task, to remove checkAccess(), checkMonitorAccess() and checkControlAccess() from src/java.management/share/classes/sun/management/Util.java (methods are already no-ops).
> 
> While here, there are a few imports of Util that are unnecessary.
> 
> No changes to the module visibility/exports.

This looks okay, you might have to bump the copyright on a few files.

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

Marked as reviewed by alanb (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/22680#pullrequestreview-2495587969


More information about the serviceability-dev mailing list