< prev index next >

test/jdk/jdk/jfr/startupargs/TestRepositoryPath.java

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

@@ -29,14 +29,15 @@
 import java.nio.file.Path;
 import java.nio.file.Paths;
 
 import jdk.test.lib.Asserts;
 
-/*
+/**
  * @test
  * @summary Set repository path. Verify recording created in repo.
  * @key jfr
+ * @requires vm.hasJFR
  * @library /test/lib /test/jdk
  * @run main/othervm -XX:StartFlightRecording=name=TestStartRecording,settings=profile -XX:FlightRecorderOptions=repository=./repo jdk.jfr.startupargs.TestRepositoryPath
  */
 public class TestRepositoryPath {
 
< prev index next >