PATCH: close method in java.net and java.io

Warren Levy warrenl@cygnus.com
Fri Dec 8 02:27:00 GMT 2000


Folks,
I've done a bit of cleanup based on the Mauve java.io and java.net
results.  The close method previously could allow exceptions to be thrown
inadvertantly.
--warrenl

2000-12-08  Warren Levy  <warrenl@redhat.com>

        * java/io/FileInputStream.java (close): Check if the fd is valid.
        * java/io/RandomAccessFile.java (close): Ditto.
        * java/net/PlainDatagramSocketImpl.java (close): Ditto.
        * java/net/PlainSocketImpl.java (close): Ditto.




More information about the Java-patches mailing list