test/jdk/jdk/jfr/startupargs/TestRepositoryPath.java
changeset 51214 67736b4846a0
parent 50113 caf115bb98ad
equal deleted inserted replaced
51213:24c4780f69a5 51214:67736b4846a0
    29 import java.nio.file.Path;
    29 import java.nio.file.Path;
    30 import java.nio.file.Paths;
    30 import java.nio.file.Paths;
    31 
    31 
    32 import jdk.test.lib.Asserts;
    32 import jdk.test.lib.Asserts;
    33 
    33 
    34 /*
    34 /**
    35  * @test
    35  * @test
    36  * @summary Set repository path. Verify recording created in repo.
    36  * @summary Set repository path. Verify recording created in repo.
    37  * @key jfr
    37  * @key jfr
       
    38  * @requires vm.hasJFR
    38  * @library /test/lib /test/jdk
    39  * @library /test/lib /test/jdk
    39  * @run main/othervm -XX:StartFlightRecording=name=TestStartRecording,settings=profile -XX:FlightRecorderOptions=repository=./repo jdk.jfr.startupargs.TestRepositoryPath
    40  * @run main/othervm -XX:StartFlightRecording=name=TestStartRecording,settings=profile -XX:FlightRecorderOptions=repository=./repo jdk.jfr.startupargs.TestRepositoryPath
    40  */
    41  */
    41 public class TestRepositoryPath {
    42 public class TestRepositoryPath {
    42 
    43