error: 'jvariant::jvariant(jbyte)' cannot be overloaded

Andrew Haley aph@redhat.com
Mon Jul 20 08:17:00 GMT 2009


On 07/19/2009 07:53 PM, Florian Weimer wrote:
> * Andrew Haley:
> 
>> OK.  I can fix it, but it's an ABI-incompatible change.
> 
> Yes, I know.
> 
>> There's no way this fix could be applied to any existing releases,
>> only gcc 4.5.
> 
> Right.  I still think it's a bug which should be fixed.  It's also
> easy to pick up GCC's <jni.h> when compiling for OpenJDK, so it's not
> just GCJ which is affected by this.

Well, it mostly is, since JNI code is mostly written in C.  I suppose
that's why this has never been noticed before.

Andrew.



More information about the Java mailing list