< prev index next >

test/jdk/jdk/jfr/jmx/TestStreamClosed.java

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

@@ -29,14 +29,15 @@
 
 import jdk.management.jfr.FlightRecorderMXBean;
 import jdk.test.lib.Asserts;
 import jdk.test.lib.jfr.SimpleEventHelper;
 
-/*
+/**
  * @test
  * @key jfr
  * @summary Call readStream() after closeStream()
+ * @requires vm.hasJFR
  * @library /test/lib /test/jdk
  * @run main/othervm jdk.jfr.jmx.TestStreamClosed
  */
 public class TestStreamClosed {
     public static void main(String[] args) throws Exception {
< prev index next >