mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
testdata for IDEA-138636
This commit is contained in:
+9
@@ -0,0 +1,9 @@
|
||||
abstract class C2<T> {
|
||||
public class C3 { }
|
||||
public abstract void n(T obj);
|
||||
}
|
||||
|
||||
<error descr="Class 'Main' must either be declared abstract or implement abstract method 'n(T)' in 'C2'">class Main extends C2<C2.C3></error> {
|
||||
<error descr="Method does not override method from its superclass">@Override</error>
|
||||
public void n(C3 obj) { }
|
||||
}
|
||||
+1
@@ -416,6 +416,7 @@ public class GenericsHighlightingTest extends LightDaemonAnalyzerTestCase {
|
||||
public void testReturnTypeSubstitutableForSameOverrideEquivalentMethods() { doTest7(false); }
|
||||
public void testCaptureConversionWithWildcardBounds() { doTest7(false); }
|
||||
public void testIDEA106811() { doTest7(false); }
|
||||
public void testRawTypeCheckForNestedClassWithOuterClassTypeParameters() { doTest7(false); }
|
||||
public void testArrayContainsInTypeParameterWithSerializableBound() { doTest7(true); }
|
||||
public void testIntersectTypeParameterBounds() { doTest7(false); }
|
||||
public void testTopLevelCaptureConversion() { doTest7(false); }
|
||||
|
||||
Reference in New Issue
Block a user