[ann] IDEA-69688 (unrestricted cast of return types of JSR-292 "polymorphic" methods)

This commit is contained in:
Roman Shevchenko
2011-05-16 16:23:36 +04:00
parent fad296984a
commit a66489593b
5 changed files with 112 additions and 3 deletions

View File

@@ -260,4 +260,9 @@ public class LightAdvHighlightingJdk7Test extends LightDaemonAnalyzerTestCase {
public void testJavacQuirks() throws Exception {
doTest(true, false);
}
public void testPolymorphicTypeCast() throws Exception {
Object o = null;
doTest(false, false);
}
}