< prev index next >
test/jdk/jdk/jfr/jcmd/TestJcmdStopReadOnlyFile.java
Print this page
rev 51054 : imported patch 9000013-aixDisableJFR-requires.patch
*** 29,42 ****
import java.nio.file.Paths;
import jdk.test.lib.jfr.FileHelper;
import jdk.test.lib.process.OutputAnalyzer;
! /*
* @test
* @summary Verify error when stopping with read-only file.
* @key jfr
* @library /test/lib /test/jdk
* @run main/othervm jdk.jfr.jcmd.TestJcmdStopReadOnlyFile
*/
public class TestJcmdStopReadOnlyFile {
--- 29,43 ----
import java.nio.file.Paths;
import jdk.test.lib.jfr.FileHelper;
import jdk.test.lib.process.OutputAnalyzer;
! /**
* @test
* @summary Verify error when stopping with read-only file.
* @key jfr
+ * @requires vm.hasJFR
* @library /test/lib /test/jdk
* @run main/othervm jdk.jfr.jcmd.TestJcmdStopReadOnlyFile
*/
public class TestJcmdStopReadOnlyFile {
< prev index next >