aboutsummaryrefslogtreecommitdiffstats
path: root/tests/new/SuperClosure.java
blob: 559763165da6a0dc3048bdbfa31cd12e5e123053 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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() {
	}
}