< prev index next >

test/serviceability/dcmd/vm/CommandLineTest.java

Print this page

        

*** 19,44 **** * 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. */ ! import com.oracle.java.testlibrary.OutputAnalyzer; import org.testng.annotations.Test; ! import com.oracle.java.testlibrary.dcmd.CommandExecutor; ! import com.oracle.java.testlibrary.dcmd.JMXExecutor; /* * @test * @summary Test of diagnostic command VM.command_line * @library /testlibrary * @modules java.base/sun.misc * java.compiler * java.management * jdk.jvmstat/sun.jvmstat.monitor ! * @build com.oracle.java.testlibrary.* ! * @build com.oracle.java.testlibrary.dcmd.* * @run testng/othervm -XX:+IgnoreUnrecognizedVMOptions -XX:+ThereShouldNotBeAnyVMOptionNamedLikeThis CommandLineTest */ public class CommandLineTest { public void run(CommandExecutor executor) { OutputAnalyzer output = executor.execute("VM.command_line"); --- 19,44 ---- * 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. */ ! import jdk.test.lib.OutputAnalyzer; import org.testng.annotations.Test; ! import jdk.test.lib.dcmd.CommandExecutor; ! import jdk.test.lib.dcmd.JMXExecutor; /* * @test * @summary Test of diagnostic command VM.command_line * @library /testlibrary * @modules java.base/sun.misc * java.compiler * java.management * jdk.jvmstat/sun.jvmstat.monitor ! * @build jdk.test.lib.* ! * @build jdk.test.lib.dcmd.* * @run testng/othervm -XX:+IgnoreUnrecognizedVMOptions -XX:+ThereShouldNotBeAnyVMOptionNamedLikeThis CommandLineTest */ public class CommandLineTest { public void run(CommandExecutor executor) { OutputAnalyzer output = executor.execute("VM.command_line");
< prev index next >