2007-12-01 00:00:00 +00:00
|
|
|
/*
|
2015-05-15 16:53:08 +00:00
|
|
|
* @test /nodynamiccopyright/
|
2007-12-01 00:00:00 +00:00
|
|
|
* @bug 4987844
|
|
|
|
* @summary compiler crash with ill-formed annotation
|
|
|
|
* @author gafter
|
|
|
|
*
|
2015-05-15 16:53:08 +00:00
|
|
|
* @compile/fail/ref=GenLit1.out -XDrawDiagnostics GenLit1.java
|
2007-12-01 00:00:00 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
package genLit1;
|
|
|
|
|
|
|
|
@interface X {
|
|
|
|
Class value();
|
|
|
|
}
|
|
|
|
|
|
|
|
@X(Z.class)
|
|
|
|
class Y<Z> {
|
|
|
|
}
|