From: Wolfgang Baer <[EMAIL PROTECTED]>
Subject: [kaffe] File order bug - Testcase
Date: Tue, 09 Aug 2005 22:01:42 +0200

> here is the testcase. kaffe behaves differently than all other 
> implementations in the order the files are listed.

Seeing libraries/clib/io/File.c, I understand how the order of files
is reversed. But, however strange Kaffe's result looks, I do not think
it is Kaffe's bug.

Sun's API document of java.io.File#listFiles() says:

    There is no guarantee that the name strings in the resulting array will
    appear in any specific order; they are not, in particular, guaranteed to
    appear in alphabetical order.

So we must not depend on the order of files java.io.File#listFiles() returns.

That said, I think it would be better if we could make Kaffe's
result look similar to Sun's.

_______________________________________________
kaffe mailing list
kaffe@kaffe.org
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe

Reply via email to