diff options
author | tromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-08-02 22:12:40 +0000 |
---|---|---|
committer | tromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-08-02 22:12:40 +0000 |
commit | 5aea2c55a9ec5db0a3159aa12ba14f0795b32bc1 (patch) | |
tree | c90b5876784e851409310f6eb0122440dfa53aa1 /libjava/jni.cc | |
parent | efb0a86e1b4723605cf47d37c0060812411652f6 (diff) | |
download | gcc-5aea2c55a9ec5db0a3159aa12ba14f0795b32bc1.tar.gz |
2001-08-02 Martin Kahlert <martin.kahlert@infineon.com>
* jni.cc (JNI_CreateJavaVM): Call _Jv_JNI_Init in order
to initialize global_ref_table/local_ref_table.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44583 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/jni.cc')
-rw-r--r-- | libjava/jni.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libjava/jni.cc b/libjava/jni.cc index 3944b0e0bea..c8ccee7b65a 100644 --- a/libjava/jni.cc +++ b/libjava/jni.cc @@ -2032,6 +2032,9 @@ JNI_CreateJavaVM (JavaVM **vm, void **penv, void *args) the_vm = nvm; *vm = the_vm; + + _Jv_JNI_Init(); + return 0; } |