< prev index next >

test/jdk/jdk/jfr/api/metadata/annotations/TestRegisteredFalseAndRunning.java

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

@@ -27,13 +27,14 @@
 
 import jdk.jfr.Event;
 import jdk.jfr.Recording;
 import jdk.jfr.Registered;
 
-/*
+/**
  * @test Tests that commit doesn't throw exception when an event has not been registered.
  * @key jfr
+ * @requires vm.hasJFR
  * @library /test/lib
  * @run main/othervm jdk.jfr.api.metadata.annotations.TestRegisteredFalseAndRunning
  * @run main/othervm -XX:FlightRecorderOptions=retransform=false jdk.jfr.api.metadata.annotations.TestRegisteredFalseAndRunning
  */
 public class TestRegisteredFalseAndRunning {
< prev index next >