unchecked generics array creation: subst should be applied before isReifiable check (IDEA-79052)

This commit is contained in:
anna
2012-04-19 09:35:08 +02:00
parent c3e0549076
commit d745b1a7f7
3 changed files with 16 additions and 5 deletions
@@ -119,3 +119,12 @@ class OCM<T> {
this(s, false, c);
}
}
class TPSubstitution<T> {
public void f(T... args) {
}
public void g() {
new TPSubstitution<String>().f();
}
}