< prev index next >
test/jdk/jdk/jfr/jcmd/TestJcmdSaveToFile.java
Print this page
rev 51054 : imported patch 9000013-aixDisableJFR-requires.patch
*** 28,41 ****
import java.io.File;
import jdk.test.lib.jfr.FileHelper;
import jdk.test.lib.process.OutputAnalyzer;
! /*
* @test
* @summary The test verifies that recording can be written to a file both with JFR.start and JFR.stop
* @key jfr
* @library /test/lib /test/jdk
* @run main/othervm jdk.jfr.jcmd.TestJcmdSaveToFile
*/
public class TestJcmdSaveToFile {
--- 28,42 ----
import java.io.File;
import jdk.test.lib.jfr.FileHelper;
import jdk.test.lib.process.OutputAnalyzer;
! /**
* @test
* @summary The test verifies that recording can be written to a file both with JFR.start and JFR.stop
* @key jfr
+ * @requires vm.hasJFR
* @library /test/lib /test/jdk
* @run main/othervm jdk.jfr.jcmd.TestJcmdSaveToFile
*/
public class TestJcmdSaveToFile {
< prev index next >