--- old/test/lib/jdk/test/lib/containers/docker/DockerTestUtils.java 2019-07-15 20:33:48.000000000 -0700 +++ new/test/lib/jdk/test/lib/containers/docker/DockerTestUtils.java 2019-07-15 20:33:48.000000000 -0700 @@ -56,7 +56,7 @@ // Use this property to specify docker location on your system. // E.g.: "/usr/local/bin/docker". - private static final String DOCKER_COMMAND = + public static final String DOCKER_COMMAND = System.getProperty("jdk.test.docker.command", "docker"); // Set this property to true to retain image after test. By default @@ -194,7 +194,7 @@ /** * Build the docker command to run java inside a container * - * @param DockerRunOptions optins for running docker + * @param DockerRunOptions options for running docker * * @return command * @throws Exception @@ -225,9 +225,9 @@ } /** - * Run Java inside the docker image with specified parameters and options. + * Run Java inside a docker container with specified parameters and options. * - * @param DockerRunOptions optins for running docker + * @param DockerRunOptions options for running docker * * @return output of the run command * @throws Exception @@ -240,7 +240,7 @@ /** * Remove docker image * - * @param DockerRunOptions optins for running docker + * @param DockerRunOptions options for running docker * @throws Exception */ public static void removeDockerImage(String imageNameAndTag) throws Exception {