diff options
author | aclement <aclement> | 2008-08-21 18:00:21 +0000 |
---|---|---|
committer | aclement <aclement> | 2008-08-21 18:00:21 +0000 |
commit | d456da9c254dc59a60b4250cae05da376d808d9f (patch) | |
tree | 939f7fa423afd23e4bb6aaa4fb6c44d959ef5648 /tests/bugs162 | |
parent | cd0feecc0b1b875be8e5083b1c38efa677f012f2 (diff) | |
download | aspectj-d456da9c254dc59a60b4250cae05da376d808d9f.tar.gz aspectj-d456da9c254dc59a60b4250cae05da376d808d9f.zip |
210114: test and fix: errors for compiler limitations become warnings
Diffstat (limited to 'tests/bugs162')
-rw-r--r-- | tests/bugs162/pr210114/TestAspect.java | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/bugs162/pr210114/TestAspect.java b/tests/bugs162/pr210114/TestAspect.java new file mode 100644 index 000000000..f641673d6 --- /dev/null +++ b/tests/bugs162/pr210114/TestAspect.java @@ -0,0 +1,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) { + } + } +} + |