classpath-patches
[Top][All Lists]
Advanced

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

[cp-patches] Re: FYI: java/io/FileInputStream.java & java/io/FileOutputS


From: Dalibor Topic
Subject: [cp-patches] Re: FYI: java/io/FileInputStream.java & java/io/FileOutputStream.java
Date: Tue, 8 Mar 2005 21:24:40 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

Jeroen Frijters <jeroen <at> sumatra.nl> writes:

> 
> Hi,
> 
> I committed the attached patch.
> 
> Regards,
> Jeroen
> 
> 2005-03-03  Jeroen Frijters  <jeroen <at> frijters.net>
> 
>         * java/io/FileInputStream.java (FileInputStream(File)),
>         java/io/FileOutputStream.java (FileOutputStream(File)):
>         Removed unnecessary File.isDirectory() check.
>

Hi Jeroen,

while trying to merge the patch into Kaffe I noticed that it breaks 
the
http://www.kaffe.org/cgi-bin/viewcvs.cgi/kaffe/test/regression/
FileChecks.java?rev=1.2&content-type=text/vnd.viewcvs-markup
regression test in Kaffe. According to API docs for File*outStream,
 the
 File
constructor is supposed to throw an exception if the file parameter
 is a directory.

Could you elaborate some more on the patch?

cheers,
dalibor topic





reply via email to

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