Fix 95101.

This commit is contained in:
nboyd%atg.com 2001-08-13 18:33:25 +00:00
parent 972247cef4
commit afe5ac0483

View File

@ -576,7 +576,8 @@ public class NativeGlobal implements IdFunctionMaster {
Object args[] = { message };
try {
Object errorObject = cx.newObject(scopeObject, error, args);
Scriptable errorObject = cx.newObject(scopeObject, error, args);
errorObject.put("name", errorObject, error);
return new EcmaError((NativeError)errorObject, sourceName,
lineNumber, columnNumber, lineSource);
}