--- a/test/jdk/jdk/jfr/jcmd/TestJcmdSaveToFile.java Fri Jul 20 09:33:49 2018 +0200
+++ b/test/jdk/jdk/jfr/jcmd/TestJcmdSaveToFile.java Fri Jul 20 09:46:57 2018 +0200
@@ -30,10 +30,11 @@
import jdk.test.lib.jfr.FileHelper;
import jdk.test.lib.process.OutputAnalyzer;
-/*
+/**
* @test
* @summary The test verifies that recording can be written to a file both with JFR.start and JFR.stop
* @key jfr
+ * @requires vm.hasJFR
* @library /test/lib /test/jdk
* @run main/othervm jdk.jfr.jcmd.TestJcmdSaveToFile
*/