--- a/test/jdk/jdk/jfr/api/consumer/TestRecordedEventGetThread.java Fri Jul 20 09:33:49 2018 +0200
+++ b/test/jdk/jdk/jfr/api/consumer/TestRecordedEventGetThread.java Fri Jul 20 09:46:57 2018 +0200
@@ -34,10 +34,11 @@
import jdk.test.lib.jfr.Events;
import jdk.test.lib.jfr.SimpleEvent;
-/*
+/**
* @test
* @summary Tests that the RecordedEvent.getThread() returns th expected info
* @key jfr
+ * @requires vm.hasJFR
* @library /test/lib
* @run main/othervm jdk.jfr.api.consumer.TestRecordedEventGetThread
*/