Cherrypick r11517 into 2.5 release branch.
git-svn-id: https://google-web-toolkit.googlecode.com/svn/releases/2.5@11522 8db76d5a-ed1c-0410-87a9-c151d255dfc7
diff --git a/user/src/com/google/gwt/core/client/impl/Impl.java b/user/src/com/google/gwt/core/client/impl/Impl.java
index f94faea..d94680f 100644
--- a/user/src/com/google/gwt/core/client/impl/Impl.java
+++ b/user/src/com/google/gwt/core/client/impl/Impl.java
@@ -223,7 +223,7 @@
* Implements {@link #entry(JavaScriptObject)}.
*/
private static Object entry0(Object jsFunction, Object thisObj,
- Object arguments) throws Throwable {
+ Object args) throws Throwable {
boolean initialEntry = enter();
try {
@@ -239,14 +239,14 @@
* doing something useful with it.
*/
try {
- return apply(jsFunction, thisObj, arguments);
+ return apply(jsFunction, thisObj, args);
} catch (Throwable t) {
GWT.getUncaughtExceptionHandler().onUncaughtException(t);
return undefined();
}
} else {
// Can't handle any exceptions, let them percolate normally
- return apply(jsFunction, thisObj, arguments);
+ return apply(jsFunction, thisObj, args);
}
/*