< prev index next >
test/jdk/jdk/jfr/jmx/security/TestNotificationListenerPermission.java
Print this page
rev 51054 : imported patch 9000013-aixDisableJFR-requires.patch
@@ -35,14 +35,15 @@
import jdk.management.jfr.FlightRecorderMXBean;
import jdk.test.lib.Asserts;
import jdk.jfr.jmx.JmxHelper;
-/*
+/**
* @test
* @key jfr
* @summary Test with minimal needed permissions. All functions should work.
+ * @requires vm.hasJFR
* @library /test/lib /test/jdk
* @run main/othervm/secure=java.lang.SecurityManager/java.security.policy=listener.policy jdk.jfr.jmx.security.TestNotificationListenerPermission
*/
public class TestNotificationListenerPermission {
private static boolean gotSecurityException;
< prev index next >