Bug 285591 - Do not cache JNIEnv structure. Instead, query from JavaVM. Not part of default build. a=mkaply
Original committer: pedemont%us.ibm.com Original revision: 1.5 Original date: 2005/05/03 20:15:35 git-svn-id: svn://10.0.0.236/trunk@212510 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
*
|
||||
* The Initial Developer of the Original Code is
|
||||
* IBM Corporation.
|
||||
* Portions created by the Initial Developer are Copyright (C) 2004
|
||||
* Portions created by the Initial Developer are Copyright (C) 2005
|
||||
* IBM Corporation. All Rights Reserved.
|
||||
*
|
||||
* Contributor(s):
|
||||
@@ -50,14 +50,12 @@ class nsJavaXPTCStub;
|
||||
class nsJavaXPTCStubWeakRef : public nsIWeakReference
|
||||
{
|
||||
public:
|
||||
nsJavaXPTCStubWeakRef(JNIEnv* env, jobject aJavaObject,
|
||||
nsJavaXPTCStub* aXPTCStub);
|
||||
nsJavaXPTCStubWeakRef(jobject aJavaObject, nsJavaXPTCStub* aXPTCStub);
|
||||
virtual ~nsJavaXPTCStubWeakRef();
|
||||
NS_DECL_ISUPPORTS
|
||||
NS_DECL_NSIWEAKREFERENCE
|
||||
|
||||
protected:
|
||||
JNIEnv* mJavaEnv;
|
||||
jweak mWeakRef;
|
||||
nsJavaXPTCStub* mXPTCStub;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user