8220579: [Containers] SubSystem.java out of sync with osContainer_linux.cpp
Reviewed-by: bobv, adinn
--- a/src/java.base/linux/classes/jdk/internal/platform/cgroupv1/SubSystem.java Mon Mar 18 11:50:41 2019 +0100
+++ b/src/java.base/linux/classes/jdk/internal/platform/cgroupv1/SubSystem.java Wed Mar 13 20:07:54 2019 +0100
@@ -48,7 +48,7 @@
public void setPath(String cgroupPath) {
if (root != null && cgroupPath != null) {
if (root.equals("/")) {
- if (cgroupPath.equals("/")) {
+ if (!cgroupPath.equals("/")) {
path = mountPoint + cgroupPath;
}
else {