mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 11:25:00 +00:00
Tweaked comment.
This commit is contained in:
parent
f3814769e7
commit
00108b9f51
@ -122,8 +122,9 @@ jsj_WrapJSObject(JSContext *cx, JNIEnv *jEnv, JSObject *js_obj)
|
||||
return the same Java object, both for efficiency and so that the '=='
|
||||
operator works as expected in Java when comparing two JSObjects.
|
||||
However, it is not possible to hold a reference to a Java object without
|
||||
inhibiting GC of that object, at least not in a portable way, i.e.
|
||||
a weak reference. So, for now, JSObject identity is broken. */
|
||||
inhibiting GC of that object, at least not in a way that is portable
|
||||
to all vendor's JVM, i.e. a weak reference. So, for now, JSObject identity
|
||||
is broken. */
|
||||
|
||||
he = *hep;
|
||||
if (he) {
|
||||
|
Loading…
Reference in New Issue
Block a user