aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs154/pr165885
diff options
context:
space:
mode:
authoraclement <aclement>2007-10-18 11:02:00 +0000
committeraclement <aclement>2007-10-18 11:02:00 +0000
commit499b8bcb0e89b39a63008fc68b44df9ed39d0750 (patch)
tree748080f3a5b8f4915cc5b1014bbac41ce4d8236f /tests/bugs154/pr165885
parent7d21be99acce64728f70e3f4b26bc5390a658672 (diff)
downloadaspectj-499b8bcb0e89b39a63008fc68b44df9ed39d0750.tar.gz
aspectj-499b8bcb0e89b39a63008fc68b44df9ed39d0750.zip
these tests are now for 1.5.4, not 1.6.0
Diffstat (limited to 'tests/bugs154/pr165885')
-rw-r--r--tests/bugs154/pr165885/Abstract.java7
-rw-r--r--tests/bugs154/pr165885/Aspect.java6
-rw-r--r--tests/bugs154/pr165885/Concrete.java11
3 files changed, 24 insertions, 0 deletions
diff --git a/tests/bugs154/pr165885/Abstract.java b/tests/bugs154/pr165885/Abstract.java
new file mode 100644
index 000000000..b2de830c4
--- /dev/null
+++ b/tests/bugs154/pr165885/Abstract.java
@@ -0,0 +1,7 @@
+package package1;
+
+public abstract class Abstract<T> {
+
+ protected Object field;
+
+}
diff --git a/tests/bugs154/pr165885/Aspect.java b/tests/bugs154/pr165885/Aspect.java
new file mode 100644
index 000000000..127a8f271
--- /dev/null
+++ b/tests/bugs154/pr165885/Aspect.java
@@ -0,0 +1,6 @@
+public aspect Aspect {
+
+ declare warning : set(* *) : "foo";
+
+
+}
diff --git a/tests/bugs154/pr165885/Concrete.java b/tests/bugs154/pr165885/Concrete.java
new file mode 100644
index 000000000..520d75a75
--- /dev/null
+++ b/tests/bugs154/pr165885/Concrete.java
@@ -0,0 +1,11 @@
+package bug.package2;
+
+import package1.Abstract;
+
+public class Concrete extends Abstract<Object> {
+
+ public void method() {
+ field = null;
+ }
+
+}