aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs164/pr262509/Foo2.java
blob: 552afa468c2982c3347e78bf8deb831f70dde712 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
public class Foo2 {
	int i=3;
	
	// Need local variable table for this code to be OK and not lose the fact that this/etc are setup from
	// instruction 0 to the end of the method
	void foo(Bar bar) {
		i = 33;
        String s = "hello";
        try {
          String s2 = "hello2";
          System.out.println(s2);
        } catch (Exception e) {
          e.printStackTrace();
        }		
	}
	public static void main(String[] args) {
		new Foo2().foo(null);
	}
}

class Bar {}

aspect FooAspect {
	before(): execution(* *(..)) {}
}