|
Relates :
|
|
|
Relates :
|
|
|
Relates :
|
After fix of 6932671 the compiler rejects the following code:
class JavaApplication6 {
public static <T extends CharSequence> Foo<T> createDeclarationUID(T declaration) {
return (Foo<T>) new FooImpl();
}
public interface Foo<T> {
}
public static final class FooImpl implements Foo<String> {
}
}
|