langtools/test/tools/javac/6734819/T6734819c.java
author hseigel
Wed, 02 Mar 2016 23:48:41 +0000
changeset 36397 c487ced7231c
parent 3766 7e2df99e9223
permissions -rw-r--r--
Merge

/*
 * @test /nodynamiccopyright/
 * @bug 6734819
 * @summary Javac performs flows analysis on already translated classes
 * @author Maurizio Cimadamore
 *
 * @compile/fail/ref=T6734819c.out -XDrawDiagnostics -Xlint:all -XDverboseCompilePolicy T6734819c.java
 */
class Y extends W {}
class W extends Z {}

class Z {
    void m(Z z) {
        return;
        W w = (W)z;
    }
}