< prev index next >

test/jdk/java/lang/annotation/repeatingAnnotations/RepeatingWithSecurityManager.java

Print this page
rev 51789 : [mq]: asserts

*** 24,43 **** /* * @test * @bug 8073056 * @summary Repeating annotations throws java.security.AccessControlException with a SecurityManager * ! * @library /lib/testlibrary ! * @build jdk.testlibrary.Asserts * @run main RepeatingWithSecurityManager * @run main/othervm RepeatingWithSecurityManager "withSM" */ import java.lang.annotation.*; import java.util.*; ! import jdk.testlibrary.Asserts; public class RepeatingWithSecurityManager { public static void main(String[] args) throws Exception { if (args.length == 1) { SecurityManager sm = new SecurityManager(); --- 24,43 ---- /* * @test * @bug 8073056 * @summary Repeating annotations throws java.security.AccessControlException with a SecurityManager * ! * @library /test/lib ! * @build jdk.test.lib.Asserts * @run main RepeatingWithSecurityManager * @run main/othervm RepeatingWithSecurityManager "withSM" */ import java.lang.annotation.*; import java.util.*; ! import jdk.test.lib.Asserts; public class RepeatingWithSecurityManager { public static void main(String[] args) throws Exception { if (args.length == 1) { SecurityManager sm = new SecurityManager();
< prev index next >