This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Invocation API (JNI) completely broken
- To: martin dot kahlert at infineon dot com
- Subject: Re: Invocation API (JNI) completely broken
- From: Bryce McKinlay <bryce at waitaki dot otago dot ac dot nz>
- Date: Tue, 30 Oct 2001 11:26:27 +1300
- CC: java at gcc dot gnu dot org
- References: <20011029151134.A15202@keksy.muc.infineon.com>
Martin Kahlert wrote:
>Once upon a time JNI worked for me in 3.1.
>
>Now it bombs over and over:
>
>The first problem was
>clinit_name = init_name = finit_name == NULL
>
Try adding a call to _Jv_CreateJavaVM near the top of JNI_CreateJavaVM,
and removing the _Jv_JNI_Init call. Eventually we want to unify all the
argument processing in one place, but just passing NULL ought to work
for now. Let me know if that works for you and if so I'll check it in.
regards
Bryce