]> source.dussan.org Git - aspectj.git/commitdiff
testcode for pr112602
authoraclement <aclement>
Mon, 17 Oct 2005 10:10:11 +0000 (10:10 +0000)
committeraclement <aclement>
Mon, 17 Oct 2005 10:10:11 +0000 (10:10 +0000)
tests/bugs150/pr112602/GenericInterface.java [new file with mode: 0644]
tests/bugs150/pr112602/Implementation.java [new file with mode: 0644]

diff --git a/tests/bugs150/pr112602/GenericInterface.java b/tests/bugs150/pr112602/GenericInterface.java
new file mode 100644 (file)
index 0000000..d72704a
--- /dev/null
@@ -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 (file)
index 0000000..e248016
--- /dev/null
@@ -0,0 +1,9 @@
+import java.util.Collection;
+
+public class Implementation implements GenericInterface<Collection<?>>{
+
+       public Collection<?> doSomething(Class<? extends Collection<?>> type) {
+               return null;
+       }
+
+}