test/jdk/jdk/jfr/jmx/TestStream.java
changeset 51214 67736b4846a0
parent 50113 caf115bb98ad
equal deleted inserted replaced
51213:24c4780f69a5 51214:67736b4846a0
    33 
    33 
    34 import jdk.jfr.consumer.RecordedEvent;
    34 import jdk.jfr.consumer.RecordedEvent;
    35 import jdk.management.jfr.FlightRecorderMXBean;
    35 import jdk.management.jfr.FlightRecorderMXBean;
    36 import jdk.test.lib.jfr.SimpleEventHelper;
    36 import jdk.test.lib.jfr.SimpleEventHelper;
    37 
    37 
    38 /*
    38 /**
    39  * @test
    39  * @test
    40  * @key jfr
    40  * @key jfr
       
    41  * @requires vm.hasJFR
    41  * @library /test/lib /test/jdk
    42  * @library /test/lib /test/jdk
    42  * @run main/othervm jdk.jfr.jmx.TestStream
    43  * @run main/othervm jdk.jfr.jmx.TestStream
    43  */
    44  */
    44 public class TestStream {
    45 public class TestStream {
    45     public static void main(String[] args) throws Exception {
    46     public static void main(String[] args) throws Exception {