< prev index next >

test/jdk/jdk/jfr/api/consumer/TestToString.java

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

@@ -32,14 +32,15 @@
 import jdk.jfr.Recording;
 import jdk.jfr.consumer.RecordedEvent;
 import jdk.test.lib.Asserts;
 import jdk.test.lib.jfr.Events;
 
-/*
+/**
  * @test
  * @summary Sanity checks that RecordedEvent#toString returns something valid
  * @key jfr
+ * @requires vm.hasJFR
  * @library /test/lib
  * @run main/othervm jdk.jfr.api.consumer.TestToString
  */
 public class TestToString {
 
< prev index next >