aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs162/pr210114/TestAspect.java
blob: f641673d6dda8e3ebaec67841209a258978b5d89 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
package test;

public aspect TestAspect {
        Object around() : within(TestClass) {
                return proceed();
        }

        after() : within(TestClass) {
        }
}

class TestClass {
        public void test() {
                try {
                        new String();
                } catch (Exception ex) {
                }
        }
}