< prev index next >

test/jdk/jdk/jfr/api/recording/destination/TestDestFileReadOnly.java

Print this page
rev 51054 : imported patch 9000013-aixDisableJFR-requires.patch

@@ -31,14 +31,15 @@
 
 import jdk.jfr.Recording;
 import jdk.test.lib.Asserts;
 import jdk.test.lib.jfr.FileHelper;
 
-/*
+/**
  * @test
  * @summary Set destination to a read-only file. Expects exception.
  * @key jfr
+ * @requires vm.hasJFR
  * @library /test/lib
  * @run main/othervm jdk.jfr.api.recording.destination.TestDestFileReadOnly
  */
 public class TestDestFileReadOnly {
 
< prev index next >