summaryrefslogtreecommitdiffstats
path: root/tests/bugs150/pr112602
diff options
context:
space:
mode:
authoraclement <aclement>2005-10-17 10:10:11 +0000
committeraclement <aclement>2005-10-17 10:10:11 +0000
commite1537b247640bd0fa3bb8db2616a890b8be9ca58 (patch)
treefb000b2297185ebc3ed5408e193202646d8446ce /tests/bugs150/pr112602
parent9d4353100afe702ed324dcc5e297f1216bc08caa (diff)
downloadaspectj-e1537b247640bd0fa3bb8db2616a890b8be9ca58.tar.gz
aspectj-e1537b247640bd0fa3bb8db2616a890b8be9ca58.zip
testcode for pr112602
Diffstat (limited to 'tests/bugs150/pr112602')
-rw-r--r--tests/bugs150/pr112602/GenericInterface.java5
-rw-r--r--tests/bugs150/pr112602/Implementation.java9
2 files changed, 14 insertions, 0 deletions
diff --git a/tests/bugs150/pr112602/GenericInterface.java b/tests/bugs150/pr112602/GenericInterface.java
new file mode 100644
index 000000000..d72704a70
--- /dev/null
+++ b/tests/bugs150/pr112602/GenericInterface.java
@@ -0,0 +1,5 @@
+public interface GenericInterface<O> {
+
+ public O doSomething(Class<? extends O> type);
+
+}
diff --git a/tests/bugs150/pr112602/Implementation.java b/tests/bugs150/pr112602/Implementation.java
new file mode 100644
index 000000000..e248016e8
--- /dev/null
+++ b/tests/bugs150/pr112602/Implementation.java
@@ -0,0 +1,9 @@
+import java.util.Collection;
+
+public class Implementation implements GenericInterface<Collection<?>>{
+
+ public Collection<?> doSomething(Class<? extends Collection<?>> type) {
+ return null;
+ }
+
+}