equal
deleted
inserted
replaced
32 import jdk.management.jfr.FlightRecorderMXBean; |
32 import jdk.management.jfr.FlightRecorderMXBean; |
33 import jdk.management.jfr.RecordingInfo; |
33 import jdk.management.jfr.RecordingInfo; |
34 import jdk.test.lib.Asserts; |
34 import jdk.test.lib.Asserts; |
35 import jdk.test.lib.jfr.EventNames; |
35 import jdk.test.lib.jfr.EventNames; |
36 |
36 |
37 /* |
37 /** |
38 * @test |
38 * @test |
39 * @key jfr |
39 * @key jfr |
40 * @summary Verify Exception when setting invalid config. |
40 * @summary Verify Exception when setting invalid config. |
|
41 * @requires vm.hasJFR |
41 * @library /test/lib /test/jdk |
42 * @library /test/lib /test/jdk |
42 * @run main/othervm jdk.jfr.jmx.TestSetConfigurationInvalid |
43 * @run main/othervm jdk.jfr.jmx.TestSetConfigurationInvalid |
43 */ |
44 */ |
44 public class TestSetConfigurationInvalid { |
45 public class TestSetConfigurationInvalid { |
45 public static void main(String[] args) throws Exception { |
46 public static void main(String[] args) throws Exception { |