Bug#753315: RFS: ecj/3.10.0-1 - [UPLOADED]
Matthias Klose
doko at debian.org
Mon Jun 30 13:57:20 UTC 2014
Am 30.06.2014 15:05, schrieb Emmanuel Bourg:
> Le 30/06/2014 14:52, Matthias Klose a écrit :
>
>> This breaks the gcj builds configured with --enable-java-maintainer mode. I
>> filed an RC issue, and planning to revert that upload next weekend. Such
>> uploads should go to experimental first if at all. I told Emmanuel about this
>> weeks before on irc, so I'm surprised about this upload.
>
> Hi Matthias,
>
> Do you have a log of the build failure please?
>
> Emmanuel Bourg
>
../../../gcc-4_9-branch/libjava/jni.cc: In function '_Jv_Method*
_Jv_JNI_GetAnyMethodID(JNIEnv*, jclass, const char*, const char*)':
../../../gcc-4_9-branch/libjava/jni.cc:760:36: error: call of overloaded
'append(jchar&)' is ambiguous
name_sig->append ((jchar) ' ');
^
../../../gcc-4_9-branch/libjava/jni.cc:760:36: note: candidates are:
In file included from ../../../gcc-4_9-branch/libjava/jni.cc:34:0:
../../../gcc-4_9-branch/libjava/java/lang/StringBuffer.h:90:40: note: virtual
java::lang::AbstractStringBuffer* java::lang::StringBuffer::append(jdouble)
::java::lang::AbstractStringBuffer * append(jdouble);
^
../../../gcc-4_9-branch/libjava/java/lang/StringBuffer.h:91:40: note: virtual
java::lang::AbstractStringBuffer* java::lang::StringBuffer::append(jfloat)
::java::lang::AbstractStringBuffer * append(jfloat);
^
../../../gcc-4_9-branch/libjava/java/lang/StringBuffer.h:92:40: note: virtual
java::lang::AbstractStringBuffer* java::lang::StringBuffer::append(jlong)
::java::lang::AbstractStringBuffer * append(jlong);
^
../../../gcc-4_9-branch/libjava/java/lang/StringBuffer.h:93:40: note: virtual
java::lang::AbstractStringBuffer* java::lang::StringBuffer::append(jint)
::java::lang::AbstractStringBuffer * append(jint);
^
../../../gcc-4_9-branch/libjava/java/lang/StringBuffer.h:97:40: note: virtual
java::lang::AbstractStringBuffer* java::lang::StringBuffer::append(jboolean)
::java::lang::AbstractStringBuffer * append(jboolean);
^
Makefile:9930: recipe for target 'jni.lo' failed
make[3]: *** [jni.lo] Error 1
which differs when using the ecj 3.10 jar to regenerate the header files
$ svn diff libjava/java/lang/StringBuffer.h
Index: libjava/java/lang/StringBuffer.h
===================================================================
--- libjava/java/lang/StringBuffer.h (revision 212141)
+++ libjava/java/lang/StringBuffer.h (working copy)
@@ -91,11 +91,8 @@
::java::lang::AbstractStringBuffer * append(jfloat);
::java::lang::AbstractStringBuffer * append(jlong);
::java::lang::AbstractStringBuffer * append(jint);
- ::java::lang::Appendable * append(::java::lang::CharSequence *, jint, jint);
::java::lang::AbstractStringBuffer *
AbstractStringBuffer$append(::java::lang::CharSequence *, jint, jint);
- ::java::lang::Appendable * append(::java::lang::CharSequence *);
::java::lang::AbstractStringBuffer *
AbstractStringBuffer$append(::java::lang::CharSequence *);
- ::java::lang::Appendable * append(jchar);
::java::lang::AbstractStringBuffer * AbstractStringBuffer$append(jchar);
::java::lang::AbstractStringBuffer * append(jboolean);
::java::lang::AbstractStringBuffer * append(JArray< jchar > *, jint, jint);
More information about the pkg-java-maintainers
mailing list