test/jtreg-ext/requires/VMProps.java
changeset 55757 07e998f8f816
parent 55746 709913d8ace9
child 58428 9b644c06226f
--- a/test/jtreg-ext/requires/VMProps.java	Mon Jul 22 12:21:18 2019 +0200
+++ b/test/jtreg-ext/requires/VMProps.java	Mon Jul 22 10:48:14 2019 +0200
@@ -46,6 +46,7 @@
 import sun.hotspot.gc.GC;
 import sun.hotspot.WhiteBox;
 import jdk.test.lib.Platform;
+import jdk.test.lib.Container;
 
 /**
  * The Class to be invoked by jtreg prior Test Suite execution to
@@ -455,7 +456,7 @@
     }
 
     private boolean checkDockerSupport() throws IOException, InterruptedException {
-        ProcessBuilder pb = new ProcessBuilder(Platform.DOCKER_COMMAND, "ps");
+        ProcessBuilder pb = new ProcessBuilder(Container.ENGINE_COMMAND, "ps");
         Process p = pb.start();
         p.waitFor(10, TimeUnit.SECONDS);