From d456da9c254dc59a60b4250cae05da376d808d9f Mon Sep 17 00:00:00 2001 From: aclement Date: Thu, 21 Aug 2008 18:00:21 +0000 Subject: 210114: test and fix: errors for compiler limitations become warnings --- tests/bugs162/pr210114/TestAspect.java | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 tests/bugs162/pr210114/TestAspect.java (limited to 'tests/bugs162') 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) { + } + } +} + -- cgit v1.2.3