/*
* @test /nodynamiccopyright/
* @bug 6711619
*
* @summary javac doesn't allow access to protected members in intersection types
* @author Maurizio Cimadamore
*
* @compile/fail/ref=T6711619b.out -XDrawDiagnostics T6711619b.java
*/
class T6711619b {
private int i;
E e;
int f() {
return e.i;
}
}
static private int i;
int f() {
return E.i;
}
}
private int i;
E e;
int f() {
return e.i;
}
}
static private int i;
int f() {
return E.i;
}
}
}