Sign in
eclipse
/
www.eclipse.org
/
eclipse
/
news
/
218acf77fa6f8ae4d3514a29595c3d84be386c78
/
.
/
4.3
/
final
/
images
/
illegal-ambiguous-varargs-error.txt
blob: 9630ec5162d4cee214cbb8a6c0ad0170965a3477 [
file
] [
log
] [
blame
]
public static void test(int... a) {
System.out.println(Arrays.toString(a));
}
public static void test(Object... a) {
System.out.println(Arrays.toString(a));
}
public static void main(String[] args) {
test(1); // 'test' flagged ambiguous
}