[fedora-java] Problems building kawa on rawhide with ecj-on-gcj

Mark Wielaard mark at klomp.org
Tue Oct 16 21:58:13 UTC 2007


On Tue, 2007-10-16 at 14:42 -0700, Anthony Green wrote:
> Mark Wielaard wrote:
> > Bottom line, your source code is not compatible with the 1.5 core
> > classes (the change is binary compatible though, so if you don't
> > recompile things should work - which I expect isn't an option for a
> > Fedora package). You might have to compile with an explicit -1.5 to get
> > the compiler to handle the bridge methods correctly and pretend your
> > code is 1.5 source code (hoping that doesn't trigger some other source
> > incompatibility).
> 
> I just compiled it all with "gcj -C" and all appears to be good.

O, that is good. In that case my analysis is either wrong or ecj has a
bug. The interaction between 1.5 covariant return types and 1.4 source
code is a little tricky. Maybe if you have time and have icedtea
installed then maybe you could also try compiling with the included
javac in that package. Then we might know which compiler is right.

Cheers,

Mark




More information about the fedora-devel-java-list mailing list