diff options
author | acolyer <acolyer> | 2004-01-15 12:50:59 +0000 |
---|---|---|
committer | acolyer <acolyer> | 2004-01-15 12:50:59 +0000 |
commit | 6d2abc17be48d8242e0945709bc54dcae52d6fb8 (patch) | |
tree | b1c6716afa90bf2696d42d695c4ac389470a2b15 /tests | |
parent | b3b1eecf938fdc9d0bd8f954bc05ec38763299fb (diff) | |
download | aspectj-6d2abc17be48d8242e0945709bc54dcae52d6fb8.tar.gz aspectj-6d2abc17be48d8242e0945709bc54dcae52d6fb8.zip |
Test for Bugzilla Bug 42515
NPE When compiling intertype declaration
Diffstat (limited to 'tests')
-rw-r--r-- | tests/ajcTests.xml | 9 | ||||
-rw-r--r-- | tests/bugs/caseSensitivity/uniqueId/Bug.aj | 5 | ||||
-rw-r--r-- | tests/bugs/caseSensitivity/uniqueId/Numbered.java | 2 |
3 files changed, 15 insertions, 1 deletions
diff --git a/tests/ajcTests.xml b/tests/ajcTests.xml index b7a030283..a853bef28 100644 --- a/tests/ajcTests.xml +++ b/tests/ajcTests.xml @@ -7111,5 +7111,12 @@ <compile files="AbstractBaseAndInterTypeInterface.java"> </compile> </ajc-test> - + + <ajc-test dir="bugs/caseSensitivity" pr="42515" + title="NPE When compiling intertype declaration"> + <compile files="uniqueId/Numbered.java,uniqueId/Bug.aj"> + <message kind="error" line="4"/> + </compile> + </ajc-test> + </suite> diff --git a/tests/bugs/caseSensitivity/uniqueId/Bug.aj b/tests/bugs/caseSensitivity/uniqueId/Bug.aj new file mode 100644 index 000000000..cefd0924a --- /dev/null +++ b/tests/bugs/caseSensitivity/uniqueId/Bug.aj @@ -0,0 +1,5 @@ +package uniqueid;
+
+public aspect Bug {
+ private long Numbered.objId;
+}
\ No newline at end of file diff --git a/tests/bugs/caseSensitivity/uniqueId/Numbered.java b/tests/bugs/caseSensitivity/uniqueId/Numbered.java new file mode 100644 index 000000000..29287dfa2 --- /dev/null +++ b/tests/bugs/caseSensitivity/uniqueId/Numbered.java @@ -0,0 +1,2 @@ +package uniqueId; +public interface Numbered {}
\ No newline at end of file |