This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug java/48515] [4.6] GCJ fails to compile jni.cc because of reflection errors on i686-w64-mingw32 target
- From: "blakawk at gentooist dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 8 Apr 2011 09:20:53 +0000
- Subject: [Bug java/48515] [4.6] GCJ fails to compile jni.cc because of reflection errors on i686-w64-mingw32 target
- Auto-submitted: auto-generated
- References: <bug-48515-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48515
--- Comment #1 from blakawk at gentooist dot com 2011-04-08 09:20:51 UTC ---
Created attachment 23925
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23925
gcc-4.6.1-20110401-fix-libjava-reflect-build-error
This patch fixes the problem by removing JNICALL from the jni.h declarations of
_Jv_JNI_ToReflectedMethod and _Jv_JNI_ToReflectedField.