equal
deleted
inserted
replaced
31 import jdk.jfr.Event; |
31 import jdk.jfr.Event; |
32 import jdk.jfr.Recording; |
32 import jdk.jfr.Recording; |
33 import jdk.jfr.consumer.RecordedEvent; |
33 import jdk.jfr.consumer.RecordedEvent; |
34 import jdk.test.lib.jfr.Events; |
34 import jdk.test.lib.jfr.Events; |
35 |
35 |
36 /* |
36 /** |
37 * @test |
37 * @test |
38 * @summary Enable an event from a static function in the event. |
38 * @summary Enable an event from a static function in the event. |
39 * @key jfr |
39 * @key jfr |
|
40 * @requires vm.hasJFR |
40 * @library /test/lib |
41 * @library /test/lib |
41 * @run main/othervm jdk.jfr.api.event.TestStaticEnable |
42 * @run main/othervm jdk.jfr.api.event.TestStaticEnable |
42 */ |
43 */ |
43 public class TestStaticEnable { |
44 public class TestStaticEnable { |
44 |
45 |