On Sun, Jan 11, 2004 at 12:04:30PM -0600, Archie Cobbs wrote: > Michael Koch wrote: > > I wanna start a new trend on this mailing list now. I wanna ask for approving > > the attached patch. This patch fixes two bugs with files. > > > > 1) java.io.File.list() uses an internal method called listInternal(). This > > methods returns null in the error case. list() now converts this to a > > String[0] array which is similar to an empty directory. This behaviour is > > incorrect. We should return the null in the error case. > > > > 2) Java_java_io_File_listInternal doest release local references to a newly > > created string. This patch fixes this. > > FYI, > I already reported #2 as bug #6989: > > https://savannah.gnu.org/bugs/?func=detailitem&item_id=6989 > > Please close the bug if you commit your fix.
I found this change in a post on the mailing list but I forgot to look into BTS. Sorry. Michael _______________________________________________ Classpath mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/classpath

