mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-05 01:50:56 +07:00
testdata for IDEA-139067
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
import java.util.*;
|
||||
|
||||
interface A<T extends ArrayList<T>> {
|
||||
A<<error descr="Type parameter '? extends List<Object>' is not within its bound; should extend 'java.util.ArrayList<? extends java.util.List<java.lang.Object>>'">? extends List<Object></error>> foo();
|
||||
A<? extends List<T>> foo1();
|
||||
}
|
||||
@@ -488,6 +488,10 @@ public class GenericsHighlightingTest extends LightDaemonAnalyzerTestCase {
|
||||
doTest(LanguageLevel.JDK_1_7, JavaSdkVersion.JDK_1_7, true);
|
||||
}
|
||||
|
||||
public void testIDEA139067() throws Exception {
|
||||
doTest(LanguageLevel.JDK_1_7, JavaSdkVersion.JDK_1_7, true);
|
||||
}
|
||||
|
||||
public void testJavaUtilCollections_NoVerify() throws Exception {
|
||||
PsiClass collectionsClass = getJavaFacade().findClass("java.util.Collections", GlobalSearchScope.moduleWithLibrariesScope(getModule()));
|
||||
assertNotNull(collectionsClass);
|
||||
|
||||
Reference in New Issue
Block a user