--- old/test/jdk/jdk/jfr/api/flightrecorder/TestPeriodicEventsSameHook.java 2018-07-19 08:10:40.253155000 +0200 +++ new/test/jdk/jdk/jfr/api/flightrecorder/TestPeriodicEventsSameHook.java 2018-07-19 08:10:39.541148000 +0200 @@ -28,10 +28,11 @@ 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 */