On Mon, 2 Dec 2024 13:06:05 GMT, Severin Gehwolf <sgehw...@openjdk.org> wrote:
>> 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 > > src/java.base/linux/classes/jdk/internal/platform/cgroupv2/CgroupV2Subsystem.java > line 332: > >> 330: >> 331: private long sumTokensIOStat(Function<String, Long> mapFunc) { >> 332: try (Stream<String> lines = >> Files.lines(Paths.get(unified.path(), "io.stat"))) { > > Suggestion: > > try (Stream<String> lines = Files.lines(Paths.of(unified.path(), > "io.stat"))) { Done. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/22478#discussion_r1865903682