JNI and _Jv_Compiler_Properties (+patch)
Tom Tromey
tromey@redhat.com
Tue Jan 30 08:39:00 GMT 2001
>>>>> "Martin" == Martin Kahlert <martin.kahlert@infineon.com> writes:
Martin> After i got a JNI prog working, where Java called C,
Martin> i now try it the other way round. Seems to be more complicate.
Although the code makes it look like the invocation API is there, it
really isn't. It won't work.
Martin> The code bombs on JNI_CreateJavaVM with a SegFault. I tried
Martin> this path:
Your patch would help, but there are other more severe problems.
Really the invocation API code needs a rewrite.
Martin> So shouldn't _Jv_Compiler_Properties be a field in JavaVM?
We will only support creating a single VM.
Martin> The other thing i found out is, that the types in jni.h are
Martin> mostly void* instead for example JNIEnv *. Should i do
Martin> anything about that?
Can you be more specific? Which functions are you talking about?
Tom
More information about the Java
mailing list