--- old/test/jdk/jdk/jfr/api/recording/destination/TestDestFileReadOnly.java 2018-07-19 08:13:11.031348000 +0200 +++ new/test/jdk/jdk/jfr/api/recording/destination/TestDestFileReadOnly.java 2018-07-19 08:13:10.340345000 +0200 @@ -33,10 +33,11 @@ import jdk.test.lib.Asserts; import jdk.test.lib.jfr.FileHelper; -/* +/** * @test * @summary Set destination to a read-only file. Expects exception. * @key jfr + * @requires vm.hasJFR * @library /test/lib * @run main/othervm jdk.jfr.api.recording.destination.TestDestFileReadOnly */