classpath-patches
[Top][All Lists]
Advanced

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

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


From: Jeroen Frijters
Subject: RE: [cp-patches] Re: FYI: java/io/FileInputStream.java& java/io/FileOutputStream.java
Date: Wed, 9 Mar 2005 20:51:11 +0100

Dalibor Topic wrote:
> Yeah, i can understand the inefficient part, as the same code is 
> duplicated in two classes. Could you elaborate some more on 
> the racy part?

If another application creates a directory after the check, but before
the file is created, an incorrect error is thrown. So ideally the native
code that calls the platform file open API needs to handle this error
case.

Regards,
Jeroen




reply via email to

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