< prev index next >
test/jdk/jdk/jfr/event/io/TestDisabledEvents.java
Print this page
rev 51054 : imported patch 9000013-aixDisableJFR-requires.patch
*** 37,50 ****
import jdk.jfr.Recording;
import jdk.jfr.consumer.RecordedEvent;
import jdk.test.lib.jfr.Events;
! /*
* @test
* @summary Test with FlightRecorder enabled but with the events disabled.
* @key jfr
* @library /test/lib /test/jdk
* @run main/othervm jdk.jfr.event.io.TestDisabledEvents
*/
// Verify that IO operations are correct and that no events are generated.
--- 37,51 ----
import jdk.jfr.Recording;
import jdk.jfr.consumer.RecordedEvent;
import jdk.test.lib.jfr.Events;
! /**
* @test
* @summary Test with FlightRecorder enabled but with the events disabled.
* @key jfr
+ * @requires vm.hasJFR
* @library /test/lib /test/jdk
* @run main/othervm jdk.jfr.event.io.TestDisabledEvents
*/
// Verify that IO operations are correct and that no events are generated.
< prev index next >