8215534: [testbug] some jfr test don't check @requires vm.hasJFR
Reviewed-by: sundar, egahlin
--- a/test/jdk/jdk/jfr/event/security/TestSecurityPropertyModificationEvent.java Thu Dec 13 11:27:37 2018 +0000
+++ b/test/jdk/jdk/jfr/event/security/TestSecurityPropertyModificationEvent.java Thu Dec 13 08:36:10 2018 +0100
@@ -38,6 +38,7 @@
* @bug 8148188
* @summary Enhance the security libraries to record events of interest
* @key jfr
+ * @requires vm.hasJFR
* @library /test/lib
* @run main/othervm jdk.jfr.event.security.TestSecurityPropertyModificationEvent
*/
--- a/test/jdk/jdk/jfr/event/security/TestTLSHandshakeEvent.java Thu Dec 13 11:27:37 2018 +0000
+++ b/test/jdk/jdk/jfr/event/security/TestTLSHandshakeEvent.java Thu Dec 13 08:36:10 2018 +0100
@@ -36,6 +36,7 @@
* @bug 8148188
* @summary Enhance the security libraries to record events of interest
* @key jfr
+ * @requires vm.hasJFR
* @library /test/lib
* @run main/othervm jdk.jfr.event.security.TestTLSHandshakeEvent
*/
--- a/test/jdk/jdk/jfr/event/security/TestX509CertificateEvent.java Thu Dec 13 11:27:37 2018 +0000
+++ b/test/jdk/jdk/jfr/event/security/TestX509CertificateEvent.java Thu Dec 13 08:36:10 2018 +0100
@@ -38,6 +38,7 @@
* @bug 8148188
* @summary Enhance the security libraries to record events of interest
* @key jfr
+ * @requires vm.hasJFR
* @library /test/lib
* @run main/othervm jdk.jfr.event.security.TestX509CertificateEvent
*/
--- a/test/jdk/jdk/jfr/event/security/TestX509ValidationEvent.java Thu Dec 13 11:27:37 2018 +0000
+++ b/test/jdk/jdk/jfr/event/security/TestX509ValidationEvent.java Thu Dec 13 08:36:10 2018 +0100
@@ -40,6 +40,7 @@
* @bug 8148188
* @summary Enhance the security libraries to record events of interest
* @key jfr
+ * @requires vm.hasJFR
* @library /test/lib
* @modules jdk.jfr/jdk.jfr.events
* @run main/othervm jdk.jfr.event.security.TestX509ValidationEvent