From ef9eee2a1870d8b7208ea4ce186e293cc70c690d Mon Sep 17 00:00:00 2001 From: aclement Date: Wed, 7 Nov 2007 09:56:34 +0000 Subject: pr169428: text and fix for checking decp annotation specified on construct inside an aspect type --- tests/bugs154/pr169428/CorrectError.java | 8 ++++++++ tests/bugs154/pr169428/NoError.java | 8 ++++++++ 2 files changed, 16 insertions(+) create mode 100644 tests/bugs154/pr169428/CorrectError.java create mode 100644 tests/bugs154/pr169428/NoError.java (limited to 'tests/bugs154') diff --git a/tests/bugs154/pr169428/CorrectError.java b/tests/bugs154/pr169428/CorrectError.java new file mode 100644 index 000000000..5677c4291 --- /dev/null +++ b/tests/bugs154/pr169428/CorrectError.java @@ -0,0 +1,8 @@ +import org.aspectj.lang.annotation.*; + +class ClassMissingAspectAnnotation { + + @Before("execution(* *(..))") + public void m() { } + +} \ No newline at end of file diff --git a/tests/bugs154/pr169428/NoError.java b/tests/bugs154/pr169428/NoError.java new file mode 100644 index 000000000..bf57fc968 --- /dev/null +++ b/tests/bugs154/pr169428/NoError.java @@ -0,0 +1,8 @@ +import org.aspectj.lang.annotation.*; + +class ClassMissingAspectAnnotation { + + @DeclareParents("*") + public java.io.Serializable s; + +} \ No newline at end of file -- cgit v1.2.3