hotspot/test/serviceability/dcmd/vm/CommandLineTest.java
changeset 43467 f91da24c6bca
parent 40631 ed82623d7831
equal deleted inserted replaced
43466:add500644443 43467:f91da24c6bca
     1 /*
     1 /*
     2  * Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2015, 2017, 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.
    32  * @summary Test of diagnostic command VM.command_line
    32  * @summary Test of diagnostic command VM.command_line
    33  * @library /test/lib
    33  * @library /test/lib
    34  * @modules java.base/jdk.internal.misc
    34  * @modules java.base/jdk.internal.misc
    35  *          java.compiler
    35  *          java.compiler
    36  *          java.management
    36  *          java.management
    37  *          jdk.jvmstat/sun.jvmstat.monitor
    37  *          jdk.internal.jvmstat/sun.jvmstat.monitor
    38  * @run testng/othervm -XX:+IgnoreUnrecognizedVMOptions -XX:+ThereShouldNotBeAnyVMOptionNamedLikeThis CommandLineTest
    38  * @run testng/othervm -XX:+IgnoreUnrecognizedVMOptions -XX:+ThereShouldNotBeAnyVMOptionNamedLikeThis CommandLineTest
    39  */
    39  */
    40 public class CommandLineTest {
    40 public class CommandLineTest {
    41     public void run(CommandExecutor executor) {
    41     public void run(CommandExecutor executor) {
    42         OutputAnalyzer output = executor.execute("VM.command_line");
    42         OutputAnalyzer output = executor.execute("VM.command_line");