mcimadamore@95: /* jjg@384: * @test /nodynamiccopyright/ mcimadamore@95: * @bug 6734819 mcimadamore@95: * @summary Javac performs flows analysis on already translated classes mcimadamore@95: * @author Maurizio Cimadamore mcimadamore@95: * mcimadamore@95: * @compile/fail/ref=T6734819c.out -XDrawDiagnostics -Xlint:all -XDverboseCompilePolicy T6734819c.java mcimadamore@95: */ mcimadamore@95: class Y extends W {} mcimadamore@95: class W extends Z {} mcimadamore@95: mcimadamore@95: class Z { mcimadamore@95: void m(Z z) { mcimadamore@95: return; mcimadamore@95: W w = (W)z; mcimadamore@95: } mcimadamore@95: }