mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
8287663: Add a regression test for JDK-8287073
Reviewed-by: iklam
This commit is contained in:
parent
b647a1259b
commit
2d8c649054
2 changed files with 36 additions and 1 deletions
|
@ -86,7 +86,10 @@ public class CgroupSubsystemFactory {
|
|||
} catch (IOException | UncheckedIOException e) {
|
||||
return null;
|
||||
}
|
||||
return create(optResult);
|
||||
}
|
||||
|
||||
public static CgroupMetrics create(Optional<CgroupTypeResult> optResult) {
|
||||
if (optResult.isEmpty()) {
|
||||
return null;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue