changeset 14866:782926a8b595

8220579: [Containers] SubSystem.java out of sync with osContainer_linux.cpp Reviewed-by: bobv, adinn
author sgehwolf
date Wed, 13 Mar 2019 20:07:54 +0100
parents 9ac2bd4b53d8
children ec6d52cea1e6
files src/linux/classes/jdk/internal/platform/cgroupv1/SubSystem.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/linux/classes/jdk/internal/platform/cgroupv1/SubSystem.java	Fri May 10 11:15:34 2019 -0400
+++ b/src/linux/classes/jdk/internal/platform/cgroupv1/SubSystem.java	Wed Mar 13 20:07:54 2019 +0100
@@ -50,7 +50,7 @@
     public void setPath(String cgroupPath) {
         if (root != null && cgroupPath != null) {
             if (root.equals("/")) {
-                if (cgroupPath.equals("/")) {
+                if (!cgroupPath.equals("/")) {
                     path = mountPoint + cgroupPath;
                 }
                 else {