RFR: 8345286: Remove use of SecurityManager API from misc areas [v9]
Jaikiran Pai
jpai at openjdk.org
Tue Dec 3 06:12:13 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 with a new target base due to a merge or a rebase. The pull request now contains 15 commits:
- merge latest from master branch
- remove permission text from InnocuousThread
- merge latest from master branch
- remove changes to src/java.base/unix/classes/sun/security/provider/NativePRNG.java
- remove unused import
- replace remaining Paths.get() with Path.of() in the updated files
- Update src/java.base/linux/classes/jdk/internal/platform/CgroupSubsystemController.java
Co-authored-by: Severin Gehwolf <jerboaa at gmail.com>
- Update src/java.base/linux/classes/jdk/internal/platform/cgroupv2/CgroupV2Subsystem.java
Co-authored-by: Severin Gehwolf <jerboaa at gmail.com>
- Path.of() instead of Paths.get() in CgroupV2Subsystem.java
- remove unnecessary space
- ... and 5 more: https://git.openjdk.org/jdk/compare/a3b58ee5...d53fe8ad
-------------
Changes: https://git.openjdk.org/jdk/pull/22478/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=22478&range=08
Stats: 269 lines in 22 files changed: 8 ins; 226 del; 35 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