langtools/test/tools/javac/generics/GenLit1.java
author hseigel
Wed, 02 Mar 2016 23:48:41 +0000
changeset 36397 c487ced7231c
parent 30719 91834c070ba5
permissions -rw-r--r--
Merge

/*
 * @test /nodynamiccopyright/
 * @bug 4987844
 * @summary compiler crash with ill-formed annotation
 * @author gafter
 *
 * @compile/fail/ref=GenLit1.out -XDrawDiagnostics   GenLit1.java
 */

package genLit1;

@interface X {
    Class value();
}

@X(Z.class)
class Y<Z> {
}