8215534: [testbug] some jfr test don't check @requires vm.hasJFR
authorgoetz
Thu, 13 Dec 2018 08:36:10 +0100
changeset 53010 086dfcfc3731
parent 53009 c45615dc6bfc
child 53011 1c85328b7631
child 53333 fd6de53a0d6e
8215534: [testbug] some jfr test don't check @requires vm.hasJFR Reviewed-by: sundar, egahlin
test/jdk/jdk/jfr/event/security/TestSecurityPropertyModificationEvent.java
test/jdk/jdk/jfr/event/security/TestTLSHandshakeEvent.java
test/jdk/jdk/jfr/event/security/TestX509CertificateEvent.java
test/jdk/jdk/jfr/event/security/TestX509ValidationEvent.java
--- 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