aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs/binaryCompat/TraceRE.aj
blob: 72136ff20e641e9b00d6a5145e75da5d01d95b2b (plain)
1
2
3
4
5
6
7
8
9
10
11
aspect Trace {
	public static boolean expectNoSuchMethodError = true;
	
	before(): execution(void main(..)) {  // expect an error for incompatible binary change
		System.out.println("enter");
	}
	
	after() returning: execution(void doit(..)) {
		System.out.println("exit");
	}
}