< prev index next >
src/java.base/linux/classes/jdk/internal/platform/CgroupUtil.java
Print this page
@ rev 57735 : Review feedback 2
:
o rev 57733 : 8231111: Cgroups v2: Rework Metrics in java.base so as to recognize unified hierarchy
| Reviewed-by: bobv, mchung
~
@@ -69,11 +69,11 @@
unwrapIOExceptionAndRethrow(e);
throw new InternalError(e.getCause());
}
}
- static List<String> readAllLinesPrivileged(Path path) throws IOException {
+ public static List<String> readAllLinesPrivileged(Path path) throws IOException {
try {
PrivilegedExceptionAction<List<String>> pea = () -> Files.readAllLines(path);
return AccessController.doPrivileged(pea);
} catch (PrivilegedActionException e) {
unwrapIOExceptionAndRethrow(e);
< prev index next >