mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 02:54:35 +02:00

Match the required and actual annotations using Element equivalence rather than TypeMirror equivalence, to avoid trouble with erroneous types. Reviewed-by: darcy
12 lines
324 B
Java
12 lines
324 B
Java
/** /nodynamiccopyright/
|
|
* Class to hold annotations for TestElementsAnnotatedWith.
|
|
*/
|
|
|
|
@AnnotatedElementInfo(annotationName="java.lang.SuppressWarnings",
|
|
expectedSize=0,
|
|
names={})
|
|
@Undefined
|
|
public class ErroneousAnnotations {
|
|
@Undefined
|
|
private void foo() {return;}
|
|
}
|