This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: JNI bug?
- From: Tom Tromey <tromey at redhat dot com>
- To: Marco Trudel <mtrudel at gmx dot ch>
- Cc: GCC Java <java at gcc dot gnu dot org>
- Date: 29 Jan 2007 09:00:15 -0700
- Subject: Re: JNI bug?
- References: <45BE32E7.1030203@gmx.ch>
- Reply-to: tromey at redhat dot com
>>>>> "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