< prev index next >
test/jdk/jdk/jfr/api/flightrecorder/TestPeriodicEventsSameHook.java
Print this page
rev 51054 : imported patch 9000013-aixDisableJFR-requires.patch
*** 26,39 ****
package jdk.jfr.api.flightrecorder;
import jdk.jfr.Event;
import jdk.jfr.FlightRecorder;
! /*
* @test
* @summary Check that an IllegalArgumentException is thrown if event is added twice
* @key jfr
* @library /test/lib
* @run main/othervm jdk.jfr.api.flightrecorder.TestPeriodicEventsSameHook
*/
public class TestPeriodicEventsSameHook {
--- 26,40 ----
package jdk.jfr.api.flightrecorder;
import jdk.jfr.Event;
import jdk.jfr.FlightRecorder;
! /**
* @test
* @summary Check that an IllegalArgumentException is thrown if event is added twice
* @key jfr
+ * @requires vm.hasJFR
* @library /test/lib
* @run main/othervm jdk.jfr.api.flightrecorder.TestPeriodicEventsSameHook
*/
public class TestPeriodicEventsSameHook {
< prev index next >