Bug#263161: [kaffe] kaffe: different compilers giving different
results for the same source file
Rogério Brito
rbrito at ime.usp.br
Sat Aug 7 15:46:00 PDT 2004
On Aug 05 2004, Dalibor Topic wrote:
> Rogério Brito wrote:
> >I have no problems with that, if it doesn't matter for other people.
> >
> >But then, I think that a warning regarding this should be generated, so
> >that people can know if their code is using something illegal in "pure"
> >Java.
>
> Try compiling it with kjc -w10, which will give you tons of warnings from
> kjc, usually.
Yes, that is simply great, although it doesn't give a warning about that
usage of 'super'.
> >BTW, just for curiosity's sake, has this use of "super" alone been
> >deprecated from the language? I'm asking this because it was used in the
> >(very old) James Gosling's book on Java that I have here.
>
> The Java language changes more or less subtly with each JDK release. Sun
> hasn't bothered to keep the specifications in sync, but I've heard that
> someone is working on a third, updated edition of the language and vm
> specifications. Usage of 'super' alone is not in Java as specified by
> JLS2, I'd say.
Thank you very much for your reply (and Ito's as well). Nice to talk to
someone that doesn't try to answer things orthogonal to what I was asking
(or people suggesting that I should "drop kaffe, because it is a piece of
shit").
As I said earlier, my interest in Java, in fact, arose only after I knew
that kaffe was available on Debian (which is my criterium to decide if a
given piece of software is free enough or not). Now I can consider Java as
an option for teaching my courses.
Thank you very much for all your hard work. I hope that I can learn enough
Java soon to try to help you guys (or, at least, file some decent bug
reports).
Thanks again, Rogério.
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Rogério Brito - rbrito at ime.usp.br - http://www.ime.usp.br/~rbrito
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
More information about the kaffe
mailing list