This is the mail archive of the java-patches@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: Patch for my first running JNI invocation program


>>>>> "Martin" == Martin Kahlert <martin.kahlert@infineon.com> writes:

Martin> 2001-07-19  Martin Kahlert  <martin.kahlert@infineon.com>
Martin> 	*  jni.cc (JNI_CreateJavaVM): Call _Jv_JNI_Init in order
Martin> 	to initialize global_ref_table/local_ref_table.

I'm fairly suprised that this works.  I would have thought much more
initialization is required.  It looks like the invocation API code
isn't really complete.  The JNI code doesn't call the CNI code at all.
Also, argument processing is never really done.  I guess all this
stuff still needs a rewrite.

Anyway, your patch doesn't make these problems worse.  I'm going to
check it in.  However, be warned that non-trivial uses of the
invocation API will probably still fail.

Tom


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