This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]