< prev index next >
test/jdk/jdk/jfr/api/consumer/TestRecordingFileReadEventEof.java
Print this page
rev 51054 : imported patch 9000013-aixDisableJFR-requires.patch
*** 31,44 ****
import jdk.jfr.consumer.RecordingFile;
import jdk.test.lib.Asserts;
import jdk.test.lib.jfr.Events;
import jdk.test.lib.jfr.SimpleEvent;
! /*
* @test
* @summary Verifies that RecordingFile.readEvent() throws EOF when past the last record
* @key jfr
* @library /test/lib
* @run main/othervm jdk.jfr.api.consumer.TestRecordingFileReadEventEof
*/
public class TestRecordingFileReadEventEof {
--- 31,45 ----
import jdk.jfr.consumer.RecordingFile;
import jdk.test.lib.Asserts;
import jdk.test.lib.jfr.Events;
import jdk.test.lib.jfr.SimpleEvent;
! /**
* @test
* @summary Verifies that RecordingFile.readEvent() throws EOF when past the last record
* @key jfr
+ * @requires vm.hasJFR
* @library /test/lib
* @run main/othervm jdk.jfr.api.consumer.TestRecordingFileReadEventEof
*/
public class TestRecordingFileReadEventEof {
< prev index next >