mcimadamore@254: /* jjg@384: * @test /nodynamiccopyright/ mcimadamore@254: * @bug 6400189 mcimadamore@254: * @summary raw types and inference mcimadamore@254: * @author mcimadamore mcimadamore@254: * @compile/fail/ref=T6400189a.out T6400189a.java -Xlint:unchecked -XDrawDiagnostics mcimadamore@254: */ mcimadamore@254: mcimadamore@254: import java.lang.reflect.Constructor; mcimadamore@254: import java.lang.annotation.Documented; mcimadamore@254: mcimadamore@254: class T6400189a { mcimadamore@254: Constructor c = null; mcimadamore@254: Documented d = c.getAnnotation(Documented.class); mcimadamore@254: }