classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: FYI: Patch: file stuff


From: Archie Cobbs
Subject: Re: FYI: Patch: file stuff
Date: Sun, 11 Jan 2004 12:04:30 -0600 (CST)

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.

-Archie

__________________________________________________________________________
Archie Cobbs     *    Halloo Communications    *     http://www.halloo.com




reply via email to

[Prev in Thread] Current Thread [Next in Thread]