RFR: 8345286: Remove use of SecurityManager API from misc areas [v3]

Jaikiran Pai jpai at openjdk.org
Mon Dec 2 14:05:56 UTC 2024


> Can I please get a review of this change which removes usages of SecurityManager related APIs and some leftover related to SecurityManager changes?
> 
> This addresses https://bugs.openjdk.org/browse/JDK-8345286. Most of these changes are trivial. The `src/java.base/linux/classes/jdk/internal/platform/CgroupUtil.java` used to expose utility methods for dealing with SecurityManager permissions and it was called from a few places. That class is no longer needed with the clean up done in this PR.
> 
> No new tests have been introduced and tier testing is currently in progress.

Jaikiran Pai has updated the pull request incrementally with one additional commit since the last revision:

  Path.of() instead of Paths.get() in CgroupV2Subsystem.java

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/22478/files
  - new: https://git.openjdk.org/jdk/pull/22478/files/75511e30..ad62bd4c

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=22478&range=02
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=22478&range=01-02

  Stats: 3 lines in 1 file changed: 1 ins; 0 del; 2 mod
  Patch: https://git.openjdk.org/jdk/pull/22478.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/22478/head:pull/22478

PR: https://git.openjdk.org/jdk/pull/22478


More information about the serviceability-dev mailing list