mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 15:27:45 +07:00
reject 1.7 varargs hack as 1.8 reject the code again even with target 1.7
This commit is contained in:
+1
-1
@@ -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>;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user