[kaffe] ecj-compiled kaffe fails in regression tests
kaz at maczuka.gcd.org
Thu Dec 8 20:31:58 PST 2005
From: Ito Kazumitsu <kaz at maczuka.gcd.org>
Date: Fri, 09 Dec 2005 12:50:15 +0900 (JST)
> Since those test cases compiled with jikes, gcj and Sun's javac
> almost all (but TestSerialPersistent compiled with Sun's javac)
> pass, the problem seems to exist in ecj.
The TestSerial* tests have this comment in common:
// XXX output assumes returned test array is consistently sorted...
But it seems that when compiled with ecj, the returned test array is
NOT consistently sorted.
Sort both *.out and *.fail files and compare them, and you will find
that they are identical.
So the question is whether the assumption that returned test array is
consistently sorted is valid or not. If the assumption is valid,
then ecj may be wrong. Otherwise we will have to modify the test
programs so that it can check the result without depending on the
order of array elements.
More information about the kaffe