Mon, 02 Sep 2013 22:38:36 +0100
8016177: structural most specific and stuckness
Reviewed-by: jjg, vromero
Contributed-by: maurizio.cimadamore@oracle.com
1 /*
2 * @test /nodynamiccopyright/
3 * @summary flow analysis is not run on inlined default bodies
4 * @compile/fail/ref=Neg06.out -XDrawDiagnostics Neg06.java
5 */
7 class Neg06 {
9 interface A {
10 default String m() { C.m(); }
11 }
13 static class C {
14 static String m() { return ""; }
15 }
16 }