Patch: Add JNIEXPORT and JNICALL to native methods in JNI testcases

Tom Tromey tromey@redhat.com
Fri Jan 24 17:39:00 GMT 2003


>>>>> "Ranjit" == Ranjit Mathew <rmathew@hotmail.com> writes:

Ranjit>      The native methods in the JNI test cases in
Ranjit> "libjava/testsuite/libjava.jni" are not defined with JNIEXPORT
Ranjit> and JNICALL attributes as required by JNI. This causes
Ranjit> them to fail to even *build* on Win32 as the gcjh generated
Ranjit> header declares these methods with JNIEXPORT and JNICALL.

Ranjit> The following patch proposes to fix this.

Thanks, I'm checking this in on the trunk and the 3.3 branch.

Tom



More information about the Java-patches mailing list