test/lib/jdk/test/lib/containers/docker/Common.java
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File open Cdiff test/lib/jdk/test/lib/containers/docker/Common.java

test/lib/jdk/test/lib/containers/docker/Common.java

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 2017, 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 * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. --- 1,7 ---- /* ! * 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 * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation.
*** 19,33 **** --- 19,35 ---- * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA * or visit www.oracle.com if you need additional information or have any * questions. */ + package jdk.test.lib.containers.docker; /* * Methods and definitions common to docker tests container in this directory */ + import java.io.File; import java.nio.file.Files; import java.nio.file.Paths; import jdk.test.lib.containers.docker.DockerRunOptions; import jdk.test.lib.containers.docker.DockerTestUtils; import jdk.test.lib.Utils;
*** 41,51 **** return imageNameAndTag + "-" + suffix; } public static void prepareWhiteBox() throws Exception { ! Files.copy(Paths.get(ClassFileInstaller.getJarPath("whitebox.jar")), Paths.get(Utils.TEST_CLASSES, "whitebox.jar")); } // create simple commonly used options --- 43,53 ---- return imageNameAndTag + "-" + suffix; } public static void prepareWhiteBox() throws Exception { ! Files.copy(Paths.get(new File("whitebox.jar").getAbsolutePath()), Paths.get(Utils.TEST_CLASSES, "whitebox.jar")); } // create simple commonly used options
test/lib/jdk/test/lib/containers/docker/Common.java
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File