type params: error for jdk < 1.7 (IDEA-67861)

This commit is contained in:
anna
2013-01-07 19:12:46 +01:00
parent 542009391b
commit d1893766c4
4 changed files with 13 additions and 2 deletions
@@ -0,0 +1,8 @@
abstract class C {
<T> void foo(Object s){ }
abstract String foo(String s);
{
this.<String>foo("").toLowerCase();
}
}