Mon, 17 Oct 2011 12:57:36 +0100
7093325: Redundant entry in bytecode exception table
Summary: Inlining of finalizers does not update gaps list accordingly
Reviewed-by: jjg
1 /*
2 * @test /nodynamiccopyright/
3 * @bug 6734819
4 * @summary Javac performs flows analysis on already translated classes
5 * @author Maurizio Cimadamore
6 *
7 * @compile/fail/ref=T6734819c.out -XDrawDiagnostics -Xlint:all -XDverboseCompilePolicy T6734819c.java
8 */
9 class Y extends W {}
10 class W extends Z {}
12 class Z {
13 void m(Z z) {
14 return;
15 W w = (W)z;
16 }
17 }