langtools/test/tools/javac/T7042623.java
author katleman
Thu, 21 Aug 2014 14:16:14 -0700
changeset 25878 6d561031123e
parent 21715 f4afc37a97a2
permissions -rw-r--r--
Added tag jdk9-b27 for changeset 98ce0879ab4c

/*
 * @test /nodynamiccopyright/
 * @bug 7042623
 * @summary Regression: javac silently crash when attributing non-existent annotation
 * @compile/fail/ref=T7042623.out -XDrawDiagnostics -XDdev T7042623.java
 */

@interface Defined2 {}

@Undefined1(@Defined2)
class Test1{}