зеркало из https://github.com/mozilla/pjs.git
Bug 339947 - Java XPCOM proxies can get used (resurrected) after having been garbage collected causing VM crash. XULRunner only. patch by ttudor/jhpedemonte, r=jhpedemonte.
Original committer: pedemont%us.ibm.com Original revision: 1.31 Original date: 2006/06/06 17:13:18
This commit is contained in:
Родитель
71209f579b
Коммит
4d7a70f8f4
|
@ -74,6 +74,7 @@ extern jclass stringClass;
|
||||||
extern jclass nsISupportsClass;
|
extern jclass nsISupportsClass;
|
||||||
extern jclass xpcomExceptionClass;
|
extern jclass xpcomExceptionClass;
|
||||||
extern jclass xpcomJavaProxyClass;
|
extern jclass xpcomJavaProxyClass;
|
||||||
|
extern jclass weakReferenceClass;
|
||||||
|
|
||||||
extern jmethodID hashCodeMID;
|
extern jmethodID hashCodeMID;
|
||||||
extern jmethodID booleanValueMID;
|
extern jmethodID booleanValueMID;
|
||||||
|
@ -95,6 +96,9 @@ extern jmethodID doubleInitMID;
|
||||||
extern jmethodID createProxyMID;
|
extern jmethodID createProxyMID;
|
||||||
extern jmethodID isXPCOMJavaProxyMID;
|
extern jmethodID isXPCOMJavaProxyMID;
|
||||||
extern jmethodID getNativeXPCOMInstMID;
|
extern jmethodID getNativeXPCOMInstMID;
|
||||||
|
extern jmethodID weakReferenceConstructorMID;
|
||||||
|
extern jmethodID getReferentMID;
|
||||||
|
extern jmethodID clearReferentMID;
|
||||||
|
|
||||||
#ifdef DEBUG_JAVAXPCOM
|
#ifdef DEBUG_JAVAXPCOM
|
||||||
extern jmethodID getNameMID;
|
extern jmethodID getNameMID;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче