libjava/java/io/natFileDescriptorPosix.cc -r1.25 -r1.26

Tom Tromey tromey@redhat.com
Mon Jun 9 16:10:00 GMT 2003


>>>>> "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



More information about the Java-patches mailing list