equal
deleted
inserted
replaced
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 |