< prev index next >
test/jdk/jdk/jfr/api/event/TestGetDuration.java
Print this page
rev 51054 : imported patch 9000013-aixDisableJFR-requires.patch
*** 34,47 ****
import jdk.test.lib.jfr.CommonHelper;
import jdk.test.lib.jfr.EventNames;
import jdk.test.lib.jfr.Events;
import jdk.test.lib.jfr.SimpleEvent;
! /*
* @test
* @summary Test for RecordedEvent.getDuration()
* @key jfr
* @library /test/lib
* @run main/othervm jdk.jfr.api.event.TestGetDuration
*/
public class TestGetDuration {
--- 34,48 ----
import jdk.test.lib.jfr.CommonHelper;
import jdk.test.lib.jfr.EventNames;
import jdk.test.lib.jfr.Events;
import jdk.test.lib.jfr.SimpleEvent;
! /**
* @test
* @summary Test for RecordedEvent.getDuration()
* @key jfr
+ * @requires vm.hasJFR
* @library /test/lib
* @run main/othervm jdk.jfr.api.event.TestGetDuration
*/
public class TestGetDuration {
< prev index next >