langtools/test/tools/javac/classfiles/attributes/annotations/RuntimeAnnotationsForTopLevelClassTest.java
equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. |
7 * published by the Free Software Foundation. |
26 * @bug 8044411 |
26 * @bug 8044411 |
27 * @summary Tests the RuntimeVisibleAnnotations/RuntimeInvisibleAnnotations attribute. |
27 * @summary Tests the RuntimeVisibleAnnotations/RuntimeInvisibleAnnotations attribute. |
28 * @modules jdk.jdeps/com.sun.tools.classfile |
28 * @modules jdk.jdeps/com.sun.tools.classfile |
29 * jdk.compiler/com.sun.tools.javac.api |
29 * jdk.compiler/com.sun.tools.javac.api |
30 * jdk.compiler/com.sun.tools.javac.main |
30 * jdk.compiler/com.sun.tools.javac.main |
31 * jdk.jdeps/com.sun.tools.javap |
|
32 * @library /tools/lib /tools/javac/lib ../lib |
31 * @library /tools/lib /tools/javac/lib ../lib |
33 * @build WorkAnnotations TestBase TestResult InMemoryFileManager ToolBox |
32 * @build toolbox.ToolBox InMemoryFileManager TestResult TestBase |
34 * @build TestCase ClassType TestAnnotationInfo |
33 * @build WorkAnnotations TestCase ClassType TestAnnotationInfo |
35 * @build RuntimeAnnotationsForTopLevelClassTest AnnotationsTestBase RuntimeAnnotationsTestBase |
34 * @build RuntimeAnnotationsForTopLevelClassTest AnnotationsTestBase RuntimeAnnotationsTestBase |
36 * @run main RuntimeAnnotationsForTopLevelClassTest |
35 * @run main RuntimeAnnotationsForTopLevelClassTest |
37 */ |
36 */ |
38 |
37 |
39 import java.util.ArrayList; |
38 import java.util.ArrayList; |