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

Jaikiran Pai jpai at openjdk.org
Mon Dec 2 14:24:57 UTC 2024


On Mon, 2 Dec 2024 14:17:10 GMT, Severin Gehwolf <sgehwolf at openjdk.org> wrote:

> cgroups changes look good. Haven't looked at the other bits.

Thank you Severin.

> src/java.base/linux/classes/jdk/internal/platform/CgroupSubsystemController.java line 29:
> 
>> 27: package jdk.internal.platform;
>> 28: 
>> 29: import java.io.BufferedReader;
> 
> Unused now?

Yes, it's now unused. I've removed it in the latest update to the PR and also replaced a few more Paths.get() with Path.of() in the current set of files that have been updated in this PR.

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

PR Comment: https://git.openjdk.org/jdk/pull/22478#issuecomment-2511675143
PR Review Comment: https://git.openjdk.org/jdk/pull/22478#discussion_r1865937624


More information about the core-libs-dev mailing list