mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
accept row types when bounds were parameterized issue (IDEA-94987)
This commit is contained in:
+6
@@ -0,0 +1,6 @@
|
||||
import java.util.*;
|
||||
class ParamHolder<T extends List<String>> {}
|
||||
class HolderUsage {
|
||||
public void fail(ParamHolder<<error descr="Type parameter 'java.util.List' is not within its bound; should extend 'java.util.List<java.lang.String>'">List</error>> p) { }
|
||||
public void success(ParamHolder<ArrayList<String>> p) { }
|
||||
}
|
||||
Reference in New Issue
Block a user