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);

__
This is the maintainer address of Debian's Java team
<http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers>. 
Please use
debian-j...@lists.debian.org for discussions and questions.

Reply via email to