Lines 138-144
Link Here
|
138 |
|
138 |
|
139 |
@param nVersion |
139 |
@param nVersion |
140 |
The JNI version of the virtual machine pointed to by pVm. Must be at |
140 |
The JNI version of the virtual machine pointed to by pVm. Must be at |
141 |
least JNI_VERSION_1_2. |
141 |
least JNI_VERSION_1_2. This parameter should be of type jint, not int, |
|
|
142 |
but at least on some platforms the definition of jint changed from |
143 |
JDK 1.3 (long) to JDK 1.4 (int), so that the mangled C++ name of the |
144 |
constructor would depend on the JDK version used at compile time. |
142 |
|
145 |
|
143 |
@param bDestroy |
146 |
@param bDestroy |
144 |
Whether to destroy the virtual machine when destructing the wrapper |
147 |
Whether to destroy the virtual machine when destructing the wrapper |
Lines 160-166
Link Here
|
160 |
the virtual machine use the context class loader of the "initial Java |
163 |
the virtual machine use the context class loader of the "initial Java |
161 |
thread." |
164 |
thread." |
162 |
*/ |
165 |
*/ |
163 |
VirtualMachine(JavaVM * pVm, jint nVersion, bool bDestroy, |
166 |
VirtualMachine(JavaVM * pVm, int nVersion, bool bDestroy, |
164 |
JNIEnv * pMainThreadEnv); |
167 |
JNIEnv * pMainThreadEnv); |
165 |
|
168 |
|
166 |
private: |
169 |
private: |