< prev index next >

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

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

@@ -29,14 +29,15 @@
 
 import jdk.jfr.Event;
 import jdk.jfr.Recording;
 import jdk.test.lib.Asserts;
 
-/*
+/**
  * @test
  * @summary Test enable/disable event and verify recording has expected events.
  * @key jfr
+ * @requires vm.hasJFR
  * @library /test/lib
  * @run main/othervm -Xlog:jfr+event+setting=trace jdk.jfr.api.event.TestShouldCommit
  */
 
 public class TestShouldCommit {
< prev index next >