equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2017, 2018, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. |
7 * published by the Free Software Foundation. |
28 * @requires docker.support |
28 * @requires docker.support |
29 * @library /test/lib |
29 * @library /test/lib |
30 * @modules java.base/jdk.internal.misc |
30 * @modules java.base/jdk.internal.misc |
31 * java.management |
31 * java.management |
32 * jdk.jartool/sun.tools.jar |
32 * jdk.jartool/sun.tools.jar |
33 * @build Common CheckContainerized sun.hotspot.WhiteBox PrintContainerInfo |
33 * @build CheckContainerized sun.hotspot.WhiteBox PrintContainerInfo |
34 * @run driver ClassFileInstaller -jar whitebox.jar sun.hotspot.WhiteBox sun.hotspot.WhiteBox$WhiteBoxPermission |
34 * @run driver ClassFileInstaller -jar whitebox.jar sun.hotspot.WhiteBox sun.hotspot.WhiteBox$WhiteBoxPermission |
35 * @run driver TestMisc |
35 * @run driver TestMisc |
36 */ |
36 */ |
|
37 import jdk.test.lib.containers.docker.Common; |
|
38 import jdk.test.lib.containers.docker.DockerTestUtils; |
37 import jdk.test.lib.containers.docker.DockerRunOptions; |
39 import jdk.test.lib.containers.docker.DockerRunOptions; |
38 import jdk.test.lib.containers.docker.DockerTestUtils; |
|
39 import jdk.test.lib.process.OutputAnalyzer; |
40 import jdk.test.lib.process.OutputAnalyzer; |
40 import jdk.test.lib.process.ProcessTools; |
41 import jdk.test.lib.process.ProcessTools; |
41 |
42 |
42 |
43 |
43 public class TestMisc { |
44 public class TestMisc { |