Fix for bug #49130, a=phil

This commit is contained in:
beard%netscape.com 2001-04-14 17:18:14 +00:00
parent 9890e4f7b9
commit b85b5e504f

View File

@ -165,8 +165,10 @@ JavaPackage_resolve(JSContext *cx, JSObject *obj, jsval id)
}
jsj_env = jsj_EnterJava(cx, &jEnv);
if (!jEnv)
return JS_FALSE;
if (!jEnv) {
ok = JS_FALSE;
goto out;
}
/*
Unfortunately, Java provides no way to find out whether a particular