jni.cc (JNI_CreateJavaVM): Call _Jv_CreateJavaVM.
* jni.cc (JNI_CreateJavaVM): Call _Jv_CreateJavaVM. Don't call _Jv_JNI_Init. From-SVN: r46633
This commit is contained in:
parent
4fe8523bca
commit
415c055a2a
@ -1,3 +1,8 @@
|
||||
2001-10-30 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
|
||||
|
||||
* jni.cc (JNI_CreateJavaVM): Call _Jv_CreateJavaVM. Don't call
|
||||
_Jv_JNI_Init.
|
||||
|
||||
2001-10-29 Tom Tromey <tromey@redhat.com>
|
||||
|
||||
* java/util/zip/GZIPOutputStream.java (write(int)): New method.
|
||||
|
@ -2108,6 +2108,9 @@ jint
|
||||
JNI_CreateJavaVM (JavaVM **vm, void **penv, void *args)
|
||||
{
|
||||
JvAssert (! the_vm);
|
||||
|
||||
_Jv_CreateJavaVM (NULL);
|
||||
|
||||
// FIXME: synchronize
|
||||
JavaVM *nvm = (JavaVM *) _Jv_MallocUnchecked (sizeof (JavaVM));
|
||||
if (nvm == NULL)
|
||||
@ -2163,8 +2166,6 @@ JNI_CreateJavaVM (JavaVM **vm, void **penv, void *args)
|
||||
the_vm = nvm;
|
||||
*vm = the_vm;
|
||||
|
||||
_Jv_JNI_Init();
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user