/* @test /nodynamiccopyright/ | |
* @bug 7192246 | |
* @summary flow analysis is not run on inlined default bodies | |
* @compile/fail/ref=Neg06.out -XDrawDiagnostics Neg06.java | |
*/ | |
class Neg06 { | |
interface A { | |
default String m() { C.m(); } | |
} | |
static class C { | |
static String m() { return ""; } | |
} | |
} |