This is the mail archive of the java@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]
Other format: [Raw text]

Re: JNI bug?


>>>>> "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


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