Fix AIOOBE from new PolymorphicSignatureTest: original may have fewer formals than are actuals in the call.
diff --git a/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/Statement.java b/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/Statement.java
index e957d28..395c4ee 100644
--- a/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/Statement.java
+++ b/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/Statement.java
@@ -213,9 +213,11 @@
 // orig:
 			arguments[i].generateCode(currentScope, codeStream, true);
 // :giro
-			TypeBinding requiredType = checkRoleToPlainCast(arguments[i].resolvedType, binding.original().parameters[i]);
-			if (requiredType != null)
-				codeStream.checkcast(requiredType);
+			if (!binding.isPolymorphic() && !binding.isVarargs()) {
+				TypeBinding requiredType = checkRoleToPlainCast(arguments[i].resolvedType, binding.original().parameters[i]);
+				if (requiredType != null)
+					codeStream.checkcast(requiredType);
+			}
 		}
 // SH}
 	}