--- a/test/jdk/jdk/jfr/api/consumer/TestRecordedEventGetThreadOther.java Fri Jul 20 09:33:49 2018 +0200
+++ b/test/jdk/jdk/jfr/api/consumer/TestRecordedEventGetThreadOther.java Fri Jul 20 09:46:57 2018 +0200
@@ -36,10 +36,11 @@
import jdk.test.lib.Asserts;
import jdk.test.lib.Utils;
-/*
+/**
* @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.TestRecordedEventGetThreadOther
*/