aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs163
diff options
context:
space:
mode:
authoraclement <aclement>2008-11-10 16:27:02 +0000
committeraclement <aclement>2008-11-10 16:27:02 +0000
commite897b667b40b52d6ae801eef190fe9548208d6b5 (patch)
tree56d5c0f15889a422428c0f97cf07679a31872533 /tests/bugs163
parentf357106f919d38b45e4477fc8165cdeaf80c640e (diff)
downloadaspectj-e897b667b40b52d6ae801eef190fe9548208d6b5.tar.gz
aspectj-e897b667b40b52d6ae801eef190fe9548208d6b5.zip
254207: tests and fix
Diffstat (limited to 'tests/bugs163')
-rw-r--r--tests/bugs163/pr254207/Abstract.java3
-rw-r--r--tests/bugs163/pr254207/Concrete.java5
-rw-r--r--tests/bugs163/pr254207/case2/Abstract.java1
-rw-r--r--tests/bugs163/pr254207/case2/Clazz.java1
-rw-r--r--tests/bugs163/pr254207/case2/Concrete.java1
-rw-r--r--tests/bugs163/pr254207/case2/Interface.java1
6 files changed, 12 insertions, 0 deletions
diff --git a/tests/bugs163/pr254207/Abstract.java b/tests/bugs163/pr254207/Abstract.java
new file mode 100644
index 000000000..27653b6cc
--- /dev/null
+++ b/tests/bugs163/pr254207/Abstract.java
@@ -0,0 +1,3 @@
+public abstract aspect Abstract<T extends Integer> {
+ public abstract T getT();
+} \ No newline at end of file
diff --git a/tests/bugs163/pr254207/Concrete.java b/tests/bugs163/pr254207/Concrete.java
new file mode 100644
index 000000000..08fe39d2b
--- /dev/null
+++ b/tests/bugs163/pr254207/Concrete.java
@@ -0,0 +1,5 @@
+public aspect Concrete extends Abstract<Number> {
+ public Number getT() {
+ return 5;
+ }
+}
diff --git a/tests/bugs163/pr254207/case2/Abstract.java b/tests/bugs163/pr254207/case2/Abstract.java
new file mode 100644
index 000000000..7df4e5f66
--- /dev/null
+++ b/tests/bugs163/pr254207/case2/Abstract.java
@@ -0,0 +1 @@
+public abstract aspect Abstract<T extends Interface> {}
diff --git a/tests/bugs163/pr254207/case2/Clazz.java b/tests/bugs163/pr254207/case2/Clazz.java
new file mode 100644
index 000000000..afa206cf5
--- /dev/null
+++ b/tests/bugs163/pr254207/case2/Clazz.java
@@ -0,0 +1 @@
+public class Clazz {}
diff --git a/tests/bugs163/pr254207/case2/Concrete.java b/tests/bugs163/pr254207/case2/Concrete.java
new file mode 100644
index 000000000..29b326ec5
--- /dev/null
+++ b/tests/bugs163/pr254207/case2/Concrete.java
@@ -0,0 +1 @@
+public aspect Concrete extends Abstract<Clazz> {}
diff --git a/tests/bugs163/pr254207/case2/Interface.java b/tests/bugs163/pr254207/case2/Interface.java
new file mode 100644
index 000000000..d99005812
--- /dev/null
+++ b/tests/bugs163/pr254207/case2/Interface.java
@@ -0,0 +1 @@
+public interface Interface {}