mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-10 18:09:38 +07:00
16 lines
420 B
Java
16 lines
420 B
Java
import java.io.Serializable;
|
|
|
|
abstract class Test {
|
|
|
|
abstract <T> T test(Class<T> cls);
|
|
|
|
abstract <T> T test(Serializable type);
|
|
|
|
private void call(){
|
|
String s = <error descr="no instance(s) of type variable(s) exist so that String[] conforms to String
|
|
inference variable T has incompatible bounds:
|
|
equality constraints: String[]
|
|
upper bounds: Object, String">test(String[].class);</error>
|
|
}
|
|
}
|