if (result && objp) *objp = obj;
JavaArray_lookupProperty(JSContext *cx, JSObject *obj, jsid id,                         JSObject **objp, JSProperty **propp#if defined JS_THREADSAFE && defined DEBUG                            , const char *file, uintN line#endif                            ){    JNIEnv *jEnv;    JSBool result;    JSErrorReporter old_reporter;    JSJavaThreadState *jsj_env;    jsj_env = jsj_EnterJava(cx, &jEnv);    if (!jEnv)        return JS_FALSE;    old_reporter = JS_SetErrorReporter(cx, NULL);    result = access_java_array_element(cx, jEnv, obj, id, NULL, JS_FALSE);    JS_SetErrorReporter(cx, old_reporter);    jsj_ExitJava(jsj_env);    return result;}