2012-11-02 14:35:57 -07:00
|
|
|
/**
|
|
|
|
* @test /nodynamiccopyright/
|
2013-03-12 11:16:30 +01:00
|
|
|
* @bug 7169362 8001114
|
2012-11-02 14:35:57 -07:00
|
|
|
* @author sogoel
|
|
|
|
* @summary ContainerAnnotation does not have FooContainer.class specified
|
|
|
|
* @compile/fail/ref=MissingContainer.out -XDrawDiagnostics MissingContainer.java
|
|
|
|
*/
|
|
|
|
|
2013-01-14 13:50:01 -08:00
|
|
|
import java.lang.annotation.Repeatable;
|
2012-11-02 14:35:57 -07:00
|
|
|
|
2013-01-14 13:50:01 -08:00
|
|
|
@Repeatable()
|
2012-11-02 14:35:57 -07:00
|
|
|
@interface Foo {}
|
|
|
|
|
|
|
|
@interface FooContainer {
|
|
|
|
Foo[] value();
|
|
|
|
}
|
|
|
|
|
|
|
|
@Foo @Foo
|
|
|
|
public class MissingContainer {}
|