Browse Source

testcode for pr112602

tags/V1_5_0RC1
aclement 18 years ago
parent
commit
e1537b2476

+ 5
- 0
tests/bugs150/pr112602/GenericInterface.java View File

@@ -0,0 +1,5 @@
public interface GenericInterface<O> {

public O doSomething(Class<? extends O> type);
}

+ 9
- 0
tests/bugs150/pr112602/Implementation.java View File

@@ -0,0 +1,9 @@
import java.util.Collection;

public class Implementation implements GenericInterface<Collection<?>>{

public Collection<?> doSomething(Class<? extends Collection<?>> type) {
return null;
}

}

Loading…
Cancel
Save