langtools/test/tools/javac/processing/environment/round/TestElementsAnnotatedWith.java
changeset 23795 62509b72088e
parent 22449 1fd6d4bec7dd
child 23967 8e99a0524d72
equal deleted inserted replaced
23794:9437acfa99e9 23795:62509b72088e
    21  * questions.
    21  * questions.
    22  */
    22  */
    23 
    23 
    24 /*
    24 /*
    25  * @test
    25  * @test
    26  * @bug 6397298 6400986 6425592 6449798 6453386 6508401 6498938 6911854 8030049
    26  * @bug 6397298 6400986 6425592 6449798 6453386 6508401 6498938 6911854 8030049 8038080
    27  * @summary Tests that getElementsAnnotatedWith works properly.
    27  * @summary Tests that getElementsAnnotatedWith works properly.
    28  * @author  Joseph D. Darcy
    28  * @author  Joseph D. Darcy
    29  * @library /tools/javac/lib
    29  * @library /tools/javac/lib
    30  * @build   JavacTestingAbstractProcessor
    30  * @build   JavacTestingAbstractProcessor
    31  * @compile TestElementsAnnotatedWith.java
    31  * @compile TestElementsAnnotatedWith.java
    32  * @compile InheritedAnnotation.java
    32  * @compile InheritedAnnotation.java
    33  * @compile TpAnno.java
    33  * @compile TpAnno.java
       
    34  * @compile Anno.java
    34  * @compile -processor TestElementsAnnotatedWith -proc:only SurfaceAnnotations.java
    35  * @compile -processor TestElementsAnnotatedWith -proc:only SurfaceAnnotations.java
    35  * @compile -processor TestElementsAnnotatedWith -proc:only BuriedAnnotations.java
    36  * @compile -processor TestElementsAnnotatedWith -proc:only BuriedAnnotations.java
    36  * @compile -processor TestElementsAnnotatedWith -proc:only Part1.java Part2.java
    37  * @compile -processor TestElementsAnnotatedWith -proc:only Part1.java Part2.java
    37  * @compile -processor TestElementsAnnotatedWith -proc:only C2.java
    38  * @compile -processor TestElementsAnnotatedWith -proc:only C2.java
    38  * @compile -processor TestElementsAnnotatedWith -proc:only Foo.java
    39  * @compile -processor TestElementsAnnotatedWith -proc:only Foo.java
    39  * @compile -processor TestElementsAnnotatedWith -proc:only TypeParameterAnnotations.java
    40  * @compile -processor TestElementsAnnotatedWith -proc:only TypeParameterAnnotations.java
       
    41  * @compile -processor TestElementsAnnotatedWith -proc:only ParameterAnnotations.java
    40  * @compile/fail/ref=ErroneousAnnotations.out -processor TestElementsAnnotatedWith -proc:only -XDrawDiagnostics ErroneousAnnotations.java
    42  * @compile/fail/ref=ErroneousAnnotations.out -processor TestElementsAnnotatedWith -proc:only -XDrawDiagnostics ErroneousAnnotations.java
    41  * @compile Foo.java
    43  * @compile Foo.java
    42  * @compile/process -processor TestElementsAnnotatedWith -proc:only Foo
    44  * @compile/process -processor TestElementsAnnotatedWith -proc:only Foo
    43  */
    45  */
    44 
    46