test/jtreg-ext/requires/VMProps.java
changeset 55746 709913d8ace9
parent 54538 ef331769d4ab
child 55757 07e998f8f816
--- a/test/jtreg-ext/requires/VMProps.java	Fri Jul 19 10:18:48 2019 +0200
+++ b/test/jtreg-ext/requires/VMProps.java	Fri Jul 12 19:37:25 2019 +0200
@@ -455,7 +455,7 @@
     }
 
     private boolean checkDockerSupport() throws IOException, InterruptedException {
-        ProcessBuilder pb = new ProcessBuilder("docker", "ps");
+        ProcessBuilder pb = new ProcessBuilder(Platform.DOCKER_COMMAND, "ps");
         Process p = pb.start();
         p.waitFor(10, TimeUnit.SECONDS);