classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: jni.h fixes


From: Guilhem Lavaux
Subject: Re: jni.h fixes
Date: Wed, 07 Jul 2004 08:19:27 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040115

Tom Tromey wrote:

"Guilhem" == Guilhem Lavaux <address@hidden> writes:

Hi Tom,

Guilhem> * first, it is not compilable in C++ mode. I've fixed that by
Guilhem>   moving some ifdef block and adding a '}' to finish the
Guilhem>   'extern "C"' block.

Hmm, we should probably merge in the libgcj version again, there are
some minor ordering differences and whatnot here, and not for any
reason I can discern.

But this looks fine, I would say go ahead and check it in, if I come
up with a merge patch later I'll of course post it...

Fine. Checking it in now.

Guilhem> * second, I think the definition for JNI_CreateJavaVM is slightly
Guilhem>   wrong. Instead of
Guilhem> JNIEXPORT jint JNICALL JNI_CreateJavaVM (JavaVM **, JNIEnv **, void *);

I agree this would be preferable, but I think the spec argues against
it.

Ok. I'm reversing it.

http://java.sun.com/j2se/1.4.2/docs/guide/jni/jni-12.html#JNI_CreateJavaVM


Cheers,

Guilhem.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]