diff options
author | aclement <aclement> | 2007-11-07 09:56:34 +0000 |
---|---|---|
committer | aclement <aclement> | 2007-11-07 09:56:34 +0000 |
commit | ef9eee2a1870d8b7208ea4ce186e293cc70c690d (patch) | |
tree | 726b7f59e92382e56a6883775c4038d974e57c7c /tests/bugs154 | |
parent | d7ed3a72017b70f13f44515e5aa768d7f965b0e9 (diff) | |
download | aspectj-ef9eee2a1870d8b7208ea4ce186e293cc70c690d.tar.gz aspectj-ef9eee2a1870d8b7208ea4ce186e293cc70c690d.zip |
pr169428: text and fix for checking decp annotation specified on construct inside an aspect type
Diffstat (limited to 'tests/bugs154')
-rw-r--r-- | tests/bugs154/pr169428/CorrectError.java | 8 | ||||
-rw-r--r-- | tests/bugs154/pr169428/NoError.java | 8 |
2 files changed, 16 insertions, 0 deletions
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 |