org.aspectj/tests/pureJava/InnerFlow.java
2002-12-16 18:51:06 +00:00

11 lines
306 B
Java

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();}