< prev index next >
test/jdk/jdk/jfr/api/recording/options/TestDuration.java
Print this page
rev 51054 : imported patch 9000013-aixDisableJFR-requires.patch
*** 31,44 ****
import jdk.jfr.Recording;
import jdk.jfr.RecordingState;
import jdk.test.lib.Asserts;
import jdk.test.lib.jfr.CommonHelper;
! /*
* @test
* @summary Test setDuration(). Verify recording is stopped automatically.
* @key jfr
* @library /test/lib
* @run main/othervm jdk.jfr.api.recording.options.TestDuration
*/
public class TestDuration {
--- 31,45 ----
import jdk.jfr.Recording;
import jdk.jfr.RecordingState;
import jdk.test.lib.Asserts;
import jdk.test.lib.jfr.CommonHelper;
! /**
* @test
* @summary Test setDuration(). Verify recording is stopped automatically.
* @key jfr
+ * @requires vm.hasJFR
* @library /test/lib
* @run main/othervm jdk.jfr.api.recording.options.TestDuration
*/
public class TestDuration {
< prev index next >