1
0
Mirror von https://github.com/eclipse-aspectj/aspectj.git synchronisiert 2024-08-26 17:58:43 +02:00
org.aspectj/tests/pureJava/InnerFlow.java
2002-12-16 18:51:06 +00:00

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