aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoraclement <aclement>2004-02-24 10:00:30 +0000
committeraclement <aclement>2004-02-24 10:00:30 +0000
commit36f8e3c561a721243f8e9e6c0cfb71547249e300 (patch)
tree5a5b8581dbfe96e9df784f3f2689cfd62084f42a
parentb1f25a3c30be719bbf6ba13d25754380dd2ca939 (diff)
downloadaspectj-36f8e3c561a721243f8e9e6c0cfb71547249e300.tar.gz
aspectj-36f8e3c561a721243f8e9e6c0cfb71547249e300.zip
Bugzilla Bug 51919
Polymorphic ITD fails in CVS HEAD (From ajdt 1.1.6)
-rw-r--r--tests/ajcTests.xml6
-rw-r--r--tests/bugs/OverloadedITDNPE.java10
2 files changed, 16 insertions, 0 deletions
diff --git a/tests/ajcTests.xml b/tests/ajcTests.xml
index ded12e25e..6b7f15050 100644
--- a/tests/ajcTests.xml
+++ b/tests/ajcTests.xml
@@ -7178,4 +7178,10 @@
<compile files="main/Driver.java,main/p2/AbstractTest.aj,main/p1/ConcreteTest.aj"/>
<run class="main.Driver"/>
</ajc-test>
+
+ <ajc-test dir="bugs" pr="51919"
+ title="Polymorphic ITD fails in CVS HEAD (From ajdt 1.1.6)">
+ <compile files="OverloadedITDNPE.java" />
+ </ajc-test>
+
</suite>
diff --git a/tests/bugs/OverloadedITDNPE.java b/tests/bugs/OverloadedITDNPE.java
new file mode 100644
index 000000000..989beacd5
--- /dev/null
+++ b/tests/bugs/OverloadedITDNPE.java
@@ -0,0 +1,10 @@
+aspect LogManager {
+ public void Loggable.logTrace(Object message) {
+ }
+ // no crash if the next method on the next line is renamed
+ public void Loggable.logTrace(Object message, Throwable t) {
+ }
+}
+
+interface Loggable {
+}