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