org.aspectj/tests/pureJava/InnerFlow.java

11 lines
306 B
Java
Raw Normal View History

2002-12-16 19:51:06 +01:00
public class InnerFlow {
static public void main(String[] params) {
final Object o = new Interface() {
public void m() {
o.toString(); //ERR: o not initialized
}};
((Interface) o).m(); // no exceptions
}
}
interface Interface { void m();}