--- a/test/lib/jdk/test/lib/Platform.java Fri Jul 19 10:18:48 2019 +0200
+++ b/test/lib/jdk/test/lib/Platform.java Fri Jul 12 19:37:25 2019 +0200
@@ -33,6 +33,12 @@
import java.security.PrivilegedExceptionAction;
public class Platform {
+ // Use this property to specify docker location on your system.
+ // E.g.: "/usr/local/bin/docker". We define this constant here so
+ // that it can be used in VMProps as well which checks docker support
+ // via this command
+ public static final String DOCKER_COMMAND =
+ System.getProperty("jdk.test.docker.command", "docker");
public static final String vmName = privilegedGetProperty("java.vm.name");
public static final String vmInfo = privilegedGetProperty("java.vm.info");
private static final String osVersion = privilegedGetProperty("os.version");