test/jdk/jdk/jfr/api/flightrecorder/TestPeriodicEventsSameHook.java
changeset 51214 67736b4846a0
parent 50113 caf115bb98ad
equal deleted inserted replaced
51213:24c4780f69a5 51214:67736b4846a0
    26 package jdk.jfr.api.flightrecorder;
    26 package jdk.jfr.api.flightrecorder;
    27 
    27 
    28 import jdk.jfr.Event;
    28 import jdk.jfr.Event;
    29 import jdk.jfr.FlightRecorder;
    29 import jdk.jfr.FlightRecorder;
    30 
    30 
    31 /*
    31 /**
    32  * @test
    32  * @test
    33  * @summary Check that an IllegalArgumentException is thrown if event is added twice
    33  * @summary Check that an IllegalArgumentException is thrown if event is added twice
    34  * @key jfr
    34  * @key jfr
       
    35  * @requires vm.hasJFR
    35  * @library /test/lib
    36  * @library /test/lib
    36  * @run main/othervm jdk.jfr.api.flightrecorder.TestPeriodicEventsSameHook
    37  * @run main/othervm jdk.jfr.api.flightrecorder.TestPeriodicEventsSameHook
    37  */
    38  */
    38 public class TestPeriodicEventsSameHook {
    39 public class TestPeriodicEventsSameHook {
    39 
    40