diff options
author | aclement <aclement> | 2005-10-17 10:10:11 +0000 |
---|---|---|
committer | aclement <aclement> | 2005-10-17 10:10:11 +0000 |
commit | e1537b247640bd0fa3bb8db2616a890b8be9ca58 (patch) | |
tree | fb000b2297185ebc3ed5408e193202646d8446ce /tests/bugs150/pr112602 | |
parent | 9d4353100afe702ed324dcc5e297f1216bc08caa (diff) | |
download | aspectj-e1537b247640bd0fa3bb8db2616a890b8be9ca58.tar.gz aspectj-e1537b247640bd0fa3bb8db2616a890b8be9ca58.zip |
testcode for pr112602
Diffstat (limited to 'tests/bugs150/pr112602')
-rw-r--r-- | tests/bugs150/pr112602/GenericInterface.java | 5 | ||||
-rw-r--r-- | tests/bugs150/pr112602/Implementation.java | 9 |
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; + } + +} |