This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: How far is the JNI invocation API?
- To: martin dot kahlert at infineon dot com
- Subject: Re: How far is the JNI invocation API?
- From: Tom Tromey <tromey at redhat dot com>
- Date: 23 Apr 2001 11:06:02 -0600
- Cc: java at gcc dot gnu dot org
- References: <20010423104311.A12264@keksy.muc.infineon.com>
- Reply-To: tromey at redhat dot com
>>>>> "Martin" == Martin Kahlert <martin.kahlert@infineon.com> writes:
Martin> Some time ago i tried to get the invocation API of JNI to work
Martin> and managed fix some segmentation faults, but somebody told
Martin> me, that there was no support for this in gcj up to now.
Martin> How far is the invocation API implemented, now?
It basically isn't implemented. It might look like it is, but I'm
fairly sure that what is there doesn't work.
Martin> If this is not possible, i would try another approach by
Martin> providing a dummy main routine in java, which calls my C main
Martin> program using JNI. This way, a working JVM should be present
Martin> in the prozess and my prog could work or do i miss anything
Martin> important?
This ought to work, modulo bugs in our JNI implementation.
Some JNI bugs have already been ironed out, thanks to Marcus Daniels.
More may exist, but if you find them I will fix them.
Tom