1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/test/tools/javac/OverrideChecks/6400189/T6400189a.java Wed Apr 27 01:34:52 2016 +0800 1.3 @@ -0,0 +1,15 @@ 1.4 +/* 1.5 + * @test /nodynamiccopyright/ 1.6 + * @bug 6400189 1.7 + * @summary raw types and inference 1.8 + * @author mcimadamore 1.9 + * @compile/fail/ref=T6400189a.out T6400189a.java -Xlint:unchecked -XDrawDiagnostics 1.10 + */ 1.11 + 1.12 +import java.lang.reflect.Constructor; 1.13 +import java.lang.annotation.Documented; 1.14 + 1.15 +class T6400189a { 1.16 + Constructor c = null; 1.17 + Documented d = c.getAnnotation(Documented.class); 1.18 +}