zrcadlo
https://github.com/eclipse-aspectj/aspectj.git
synchronizováno 2024-08-26 17:58:43 +02:00
11 řádky
306 B
Java
11 řádky
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();}
|