aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs150/pr107953.java
blob: 8e42817c1bb4d1e7cdc419426a694f076eeff3d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import java.lang.annotation.*;
import org.aspectj.lang.annotation.*;

@Aspect
public class pr107953 {
	
	@AfterThrowing(pointcut="execution(* Foo.*(..))",throwing="RuntimeException")
	public void missingBindingOfThrowingFormal() {
		System.out.println("failure");
	}
		
}

class Foo {
	void bar() {
		throw new RuntimeException();
	}
}