3789983e89
Reviewed-by: darcy, ihse
17 lines
322 B
Java
17 lines
322 B
Java
/* @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 ""; }
|
|
}
|
|
}
|