[kaffe] ecj-compiled kaffe fails in regression tests

Ito Kazumitsu kaz at maczuka.gcd.org
Thu Dec 8 21:16:20 PST 2005

From: Ito Kazumitsu <kaz at maczuka.gcd.org>
Date: Fri, 09 Dec 2005 13:31:58 +0900 (JST)

> 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.

Sun's API document of getDeclaredClasses says nothing about
the order of elements in the returned array.  So I do not
tink it is a good thing to write a program which assumes
some special order of elements of the array.

So I think Kaffe's TestSerial*.java should be modified.

More information about the kaffe mailing list