Closeable and Socket, ZipFile

Andreas Sterbenz Andreas.Sterbenz at Sun.COM
Fri Jul 6 00:02:21 UTC 2007


Hi,

elsewhere it came up that the java.io.Closeable interface is implemented 
by InputStream, OutputStream, Reader, Writer, SocketChannel, etc. but not 
by classes such as Socket, ServerSocket, ZipFile, etc.

Is that intentional or a bug?

Andreas.




More information about the core-libs-dev mailing list