mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
non-reifiable type check: testdata for IDEA-139091
This commit is contained in:
+9
@@ -0,0 +1,9 @@
|
||||
import java.util.Map;
|
||||
|
||||
class Test {
|
||||
void baz(){
|
||||
bar(<error descr="Generic array creation">new Map<?, Integer>[3]</error>);
|
||||
}
|
||||
|
||||
void bar(Map<?, Integer> ... x){ }
|
||||
}
|
||||
+1
@@ -73,6 +73,7 @@ public class LightAdvHighlightingJdk6Test extends LightDaemonAnalyzerTestCase {
|
||||
public void testIDEA79251() { doTest(false, false); }
|
||||
public void testIDEA65473() { doTest(false, false); }
|
||||
public void testIDEA61415() { doTest(false, false); }
|
||||
public void testGenericArrayCreationWithGenericTypeWithOneUnboundedWildcardOneNormalParams() { doTest(false, false); }
|
||||
public void testAgentPremain() {
|
||||
doTest(false, false);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user