summaryrefslogtreecommitdiffstats
path: root/tests/java5/annotations
diff options
context:
space:
mode:
authoracolyer <acolyer>2005-04-20 12:57:49 +0000
committeracolyer <acolyer>2005-04-20 12:57:49 +0000
commit78abc76610cfb5fd2a2282086adfb017537ce49c (patch)
tree976a993332b1f2aeb7fb9fbc283cdccf71707b24 /tests/java5/annotations
parenta92b2f0201a3fa6b02a9f3c67e9b34a17c0fb7f3 (diff)
downloadaspectj-78abc76610cfb5fd2a2282086adfb017537ce49c.tar.gz
aspectj-78abc76610cfb5fd2a2282086adfb017537ce49c.zip
fix for Bugzilla Bug 91858
NullPointerException when declare @type is spelt with capital letter patch submitted by Andrew Huff
Diffstat (limited to 'tests/java5/annotations')
-rw-r--r--tests/java5/annotations/declare/DeathByPoorSpelling.aj7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/java5/annotations/declare/DeathByPoorSpelling.aj b/tests/java5/annotations/declare/DeathByPoorSpelling.aj
new file mode 100644
index 000000000..64404dd6d
--- /dev/null
+++ b/tests/java5/annotations/declare/DeathByPoorSpelling.aj
@@ -0,0 +1,7 @@
+// "declare @Type (should be @type)"
+
+@interface myInterface {}
+
+aspect A{
+ declare @Type: A : @myInterface;
+}