Bug #55114, a=brendan, r=mccabe. Fixed failure in enumerating Java string
objects. git-svn-id: svn://10.0.0.236/trunk@80990 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
5a7a80de57
commit
5985f3fb18
@ -252,6 +252,8 @@ JavaArray_lookupProperty(JSContext *cx, JSObject *obj, jsid id,
|
||||
|
||||
old_reporter = JS_SetErrorReporter(cx, NULL);
|
||||
result = access_java_array_element(cx, jEnv, obj, id, NULL, JS_FALSE);
|
||||
if (result && objp)
|
||||
*objp = obj;
|
||||
JS_SetErrorReporter(cx, old_reporter);
|
||||
jsj_ExitJava(jsj_env);
|
||||
return result;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user