2007-12-01 00:00:00 +00:00
|
|
|
/*
|
2014-08-28 23:42:16 -07:00
|
|
|
* @test /nodynamiccopyright/
|
2007-12-01 00:00:00 +00:00
|
|
|
* @bug 4906400
|
|
|
|
* @summary (JSR175) compiler allows self-containing annotation types
|
|
|
|
* @author gafter
|
|
|
|
*
|
2014-08-28 23:42:16 -07:00
|
|
|
* @compile/fail/ref=Cycle1.out -XDrawDiagnostics Cycle1.java
|
2007-12-01 00:00:00 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
package cycle1;
|
|
|
|
|
|
|
|
@interface Foo {
|
|
|
|
Foo foo();
|
|
|
|
}
|