From 78abc76610cfb5fd2a2282086adfb017537ce49c Mon Sep 17 00:00:00 2001 From: acolyer Date: Wed, 20 Apr 2005 12:57:49 +0000 Subject: fix for Bugzilla Bug 91858 NullPointerException when declare @type is spelt with capital letter patch submitted by Andrew Huff --- tests/java5/annotations/declare/DeathByPoorSpelling.aj | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 tests/java5/annotations/declare/DeathByPoorSpelling.aj (limited to 'tests/java5/annotations') 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; +} -- cgit v1.2.3