2013-09-10 11:47:51 +00:00
|
|
|
/* @test /nodynamiccopyright/
|
|
|
|
* @bug 7192246
|
2012-11-04 10:59:42 +00:00
|
|
|
* @summary flow analysis is not run on inlined default bodies
|
2012-11-17 19:01:03 +00:00
|
|
|
* @compile/fail/ref=Neg06.out -XDrawDiagnostics Neg06.java
|
2012-11-04 10:59:42 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
class Neg06 {
|
|
|
|
|
|
|
|
interface A {
|
|
|
|
default String m() { C.m(); }
|
|
|
|
}
|
|
|
|
|
|
|
|
static class C {
|
|
|
|
static String m() { return ""; }
|
|
|
|
}
|
|
|
|
}
|