equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2015, 2016, 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. |
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
20 * or visit www.oracle.com if you need additional information or have any |
20 * or visit www.oracle.com if you need additional information or have any |
21 * questions. |
21 * questions. |
22 */ |
22 */ |
23 |
23 |
24 import jdk.test.lib.*; |
24 import jdk.test.lib.process.ProcessTools; |
|
25 import jdk.test.lib.process.OutputAnalyzer; |
25 import jdk.test.lib.cli.*; |
26 import jdk.test.lib.cli.*; |
26 |
27 |
27 /* |
28 /* |
28 * @test |
29 * @test |
29 * @bug 8061611 |
30 * @bug 8061611 |
30 * @summary Test that various alias options correctly set the target options. See aliased_jvm_flags in arguments.cpp. |
31 * @summary Test that various alias options correctly set the target options. See aliased_jvm_flags in arguments.cpp. |
31 * @modules java.base/jdk.internal.misc |
32 * @modules java.base/jdk.internal.misc |
32 * @library /testlibrary |
33 * @library /test/lib |
33 */ |
34 */ |
34 public class VMAliasOptions { |
35 public class VMAliasOptions { |
35 |
36 |
36 /** |
37 /** |
37 * each entry is {[0]: alias name, [1]: alias target, [2]: value to set |
38 * each entry is {[0]: alias name, [1]: alias target, [2]: value to set |