< prev index next >

test/jdk/jdk/jfr/jmx/TestSetConfigurationInvalid.java

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

*** 32,45 **** import jdk.management.jfr.FlightRecorderMXBean; import jdk.management.jfr.RecordingInfo; import jdk.test.lib.Asserts; import jdk.test.lib.jfr.EventNames; ! /* * @test * @key jfr * @summary Verify Exception when setting invalid config. * @library /test/lib /test/jdk * @run main/othervm jdk.jfr.jmx.TestSetConfigurationInvalid */ public class TestSetConfigurationInvalid { public static void main(String[] args) throws Exception { --- 32,46 ---- import jdk.management.jfr.FlightRecorderMXBean; import jdk.management.jfr.RecordingInfo; import jdk.test.lib.Asserts; import jdk.test.lib.jfr.EventNames; ! /** * @test * @key jfr * @summary Verify Exception when setting invalid config. + * @requires vm.hasJFR * @library /test/lib /test/jdk * @run main/othervm jdk.jfr.jmx.TestSetConfigurationInvalid */ public class TestSetConfigurationInvalid { public static void main(String[] args) throws Exception {
< prev index next >