--- a/test/jdk/jdk/jfr/event/oldobject/TestSanityDefault.java Fri Jul 20 09:33:49 2018 +0200
+++ b/test/jdk/jdk/jfr/event/oldobject/TestSanityDefault.java Fri Jul 20 09:46:57 2018 +0200
@@ -33,9 +33,10 @@
import jdk.test.lib.jfr.EventNames;
import jdk.test.lib.jfr.Events;
-/*
+/**
* @test
* @key jfr
+ * @requires vm.hasJFR
* @requires vm.gc == "null"
* @library /test/lib /test/jdk
* @summary Purpose of this test is to run leak profiler without command line tweaks or WhiteBox hacks until we succeed