From: "Tom Tromey"
| Danny> In function `java::lang::Object*
_Jv_JNI_ToReflectedField(JNIEnv*,
| Danny> java::lang::Class*, _Jv_Field*, jboolean)'
| Danny> : ../../../gcc/libjava/jni.cc:1612: error: new declaration
| Danny> `java::lang::Object* _Jv_JNI_ToReflectedField(JNIEnv*,
| Danny> java::lang::Class*, _Jv_Field*, jboolean)'
|
| This is just an oversight on our part. These friend declarations are
| added by some code in Makefile.am -- care to take a stab at fixing
| them? It might involve a little rearrangement since now Field.h will
| probably need to refer to jni.h.
|
| Tom
Hi,
Attached patch ensures that the declarations of
_Jv_JNI_ToReflectedMethod in java/lang/Class.h and in generated headers
match the definition (with JNICALL attribute) in jni.cc.
Before I spend anymore time on this track, are there any problems with
including jni.h from the generated headers?