summaryrefslogtreecommitdiffstats
path: root/tests/bugs153
diff options
context:
space:
mode:
authoraclement <aclement>2006-07-03 13:49:07 +0000
committeraclement <aclement>2006-07-03 13:49:07 +0000
commitf6834c7692082a20e94f7d88841e6c7c3f96c26a (patch)
tree1784ed9360cbd0aee717da073fd573cfe5b5926d /tests/bugs153
parent8930b0ddd121c0235689469fec3ebe8b86a65c40 (diff)
downloadaspectj-f6834c7692082a20e94f7d88841e6c7c3f96c26a.tar.gz
aspectj-f6834c7692082a20e94f7d88841e6c7c3f96c26a.zip
test and fix for 148737
Diffstat (limited to 'tests/bugs153')
-rw-r--r--tests/bugs153/pr148737/A.java19
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/bugs153/pr148737/A.java b/tests/bugs153/pr148737/A.java
new file mode 100644
index 000000000..9c9360b51
--- /dev/null
+++ b/tests/bugs153/pr148737/A.java
@@ -0,0 +1,19 @@
+public abstract class A<E> {
+ public A() { }
+ public void setUniqueID(Object o) {}
+}
+
+class B extends A {
+ public B() {}
+}
+
+class D {
+ public void method() {
+ B b = new B();
+ b.setUniqueID(null);
+ }
+}
+
+aspect TestAspect {
+ before(): call(public void *.*()) { }
+}