This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Invocation API (JNI) completely broken


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]