reject 1.7 varargs hack as 1.8 reject the code again even with target 1.7

This commit is contained in:
Anna Kozlova
2014-02-24 20:35:44 +01:00
parent 2df995fd74
commit 7a9bf2ac51
2 changed files with 3 additions and 14 deletions
@@ -12,6 +12,6 @@ class C<T extends A & B>
{
void bar(T x)
{
x.foo(null);
x.foo<error descr="Ambiguous method call: both 'A.foo(String[]...)' and 'B.foo(String[])' match">(null)</error>;
}
}