>    I want to run kaffe in my program in linux. I'd like to start
>    kaffe as a thread in a process. After kaffe finishes, it will be
>    requested to restart as a thread in the same process. However,
>    the second time I run kaffe, it does not work. It seems kaffe is
>    designed to run once and then exit to the system.

Yep.  Kaffe has lots of global state that it doesn't cleanup correctly
nor does it compartmentalize that state to allow multiple instances. 

You're probably best off creating the VM once, and then creating new
threads to enter the VM and leave the VM as you need.

> Turn off two or three assertion in JNI_CreateJavaVM(). 

Those assertions were trying to tell you something...

-Pat

----- ----- ---- ---  ---  --   -    -      -         -               -
Pat Tullmann                                       [EMAIL PROTECTED]
                     "Forty-Two." -- Deep Thought

_______________________________________________
kaffe mailing list
[EMAIL PROTECTED]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe

Reply via email to