spogulis no
https://github.com/eclipse-aspectj/aspectj.git
synced 2024-08-26 17:58:43 +02:00
22 rindas
381 B
Java
22 rindas
381 B
Java
|
|
public class SuperClosure {
|
|
public static void main(String[] args) {
|
|
}
|
|
}
|
|
|
|
aspect A {
|
|
void around() : execution(void main(String[])) {
|
|
Runner runner = new Runner() {
|
|
public void run() {
|
|
// ajc 1.1.1 VerifyError: Illegal use of nonvirtual function call
|
|
super.run();
|
|
}
|
|
};
|
|
runner.run();
|
|
}
|
|
}
|
|
class Runner implements Runnable {
|
|
public void run() {
|
|
}
|
|
}
|