This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: libjava/java/io/natFileDescriptorPosix.cc -r1.25 -r1.26
- From: Tom Tromey <tromey at redhat dot com>
- To: Loren James Rittle <rittle at latour dot rsch dot comm dot mot dot com>
- Cc: CLR004 at motorola dot com, java-patches at gcc dot gnu dot org, konqueror at gmx dot de, toa at pop dot agri dot ch
- Date: 09 Jun 2003 10:02:43 -0600
- Subject: Re: libjava/java/io/natFileDescriptorPosix.cc -r1.25 -r1.26
- References: <200306060618.h566IHHM014197@latour.rsch.comm.mot.com>
- Reply-to: tromey at redhat dot com
>>>>> "Loren" == Loren James Rittle <rittle@latour.rsch.comm.mot.com> writes:
Loren> I recall lobbying for throwing an exception if code asked for
Loren> that feature and it couldn't be supported even conservatively
Loren> but I'm not into the tao down there...
Sun's javadoc says:
If the file resides on a local storage device then when an
invocation of a method of this class returns it is guaranteed that
all changes made to the file by that invocation will have been
written to that device.
Presumably existing code won't look for an IOException from this
constructor, since it would have no way of knowing whether a given
file is "on a local storage device".
Tom