--- old/test/lib/jdk/test/lib/containers/docker/DockerRunOptions.java 2018-06-01 11:49:01.175905395 -0400 +++ new/test/lib/jdk/test/lib/containers/docker/DockerRunOptions.java 2018-06-01 11:49:00.316855247 -0400 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2017, 2018, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -20,6 +20,7 @@ * or visit www.oracle.com if you need additional information or have any * questions. */ + package jdk.test.lib.containers.docker; import java.util.ArrayList; @@ -69,4 +70,8 @@ return this; } + public DockerRunOptions addClassOptions(String... opts) { + Collections.addAll(classParams,opts); + return this; + } }