[Kaffe] java.io.File(Input|Output)Stream question.

Moses DeJong dejong at cs.umn.edu
Thu Feb 11 15:48:59 PST 1999


Does anyone know what is going on the the Sun docs with reguarding
the constructors for the FileInputStream and FileOutputStream classes?

A file output stream raises an IOException if the file can not be
found but a file input stream raises a FileNotFoundException. What
is going on here? Is this yet another example of a Sun screw-up that
we need to provide a "compatible" implementation of? This also messes
up the FileReader and FileWriter classes. Any thoughts?

Mo DeJong
dejong at cs.umn.edu





More information about the kaffe mailing list