< prev index next >

test/jdk/jdk/jfr/api/event/TestStaticEnable.java

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

@@ -31,14 +31,15 @@
 import jdk.jfr.Event;
 import jdk.jfr.Recording;
 import jdk.jfr.consumer.RecordedEvent;
 import jdk.test.lib.jfr.Events;
 
-/*
+/**
  * @test
  * @summary Enable an event from a static function in the event.
  * @key jfr
+ * @requires vm.hasJFR
  * @library /test/lib
  * @run main/othervm jdk.jfr.api.event.TestStaticEnable
  */
 public class TestStaticEnable {
 
< prev index next >