JNI bug?
Tom Tromey
tromey@redhat.com
Mon Jan 29 18:10:00 GMT 2007
>>>>> "Marco" == Marco Trudel <mtrudel@gmx.ch> writes:
Marco> private static native void nativePrintBooleanAsInt(boolean b);
Marco> JNIEXPORT void JNICALL Java_NativeBooleanTest_nativePrintBooleanAsInt
Marco> (JNIEnv *env, jclass c, jint b)
Marco> So,what do others think? What is the problem? Should there be an
Marco> implicit cast? Is the code wrong? If yes, should it be attended so
Marco> that the Sun RE is met?
I think this JNI code is incorrect.
If it were easy to support, I suppose I would consider a change to
support it.
Although, it looks like Andrew can't reproduce this. Perhaps it is
only a bug on Windows?
Tom
More information about the Java
mailing list