summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authoracolyer <acolyer>2004-01-15 12:50:59 +0000
committeracolyer <acolyer>2004-01-15 12:50:59 +0000
commit6d2abc17be48d8242e0945709bc54dcae52d6fb8 (patch)
treeb1c6716afa90bf2696d42d695c4ac389470a2b15 /tests
parentb3b1eecf938fdc9d0bd8f954bc05ec38763299fb (diff)
downloadaspectj-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.xml9
-rw-r--r--tests/bugs/caseSensitivity/uniqueId/Bug.aj5
-rw-r--r--tests/bugs/caseSensitivity/uniqueId/Numbered.java2
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