< prev index next >
test/jdk/jdk/jfr/startupargs/TestRepositoryPath.java
Print this page
rev 51054 : imported patch 9000013-aixDisableJFR-requires.patch
*** 29,42 ****
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
* @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 {
--- 29,43 ----
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 >