mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-05 05:30:29 +00:00
Fix for bug #49130, a=phil
This commit is contained in:
parent
9890e4f7b9
commit
b85b5e504f
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user