< prev index next >

test/jdk/jdk/jfr/jvm/TestLogOutput.java

Print this page
rev 51054 : imported patch 9000013-aixDisableJFR-requires.patch

@@ -29,14 +29,15 @@
 import java.nio.file.Files;
 import java.nio.file.Paths;
 import java.util.ArrayList;
 import java.util.List;
 
-/*
+/**
  * @test TestLogOutput
  * @key jfr
  * @summary Sanity test jfr logging output
+ * @requires vm.hasJFR
  * @library /test/lib
  * @run main/othervm -Xlog:disable -Xlog:jfr*=trace:file=jfr_trace.txt -XX:StartFlightRecording=duration=1s,filename=recording.jfr jdk.jfr.jvm.TestLogOutput
  */
 public class TestLogOutput {
     public static void main(String[] args) throws Exception {
< prev index next >