Fwd: AutoCloseable blocking or not

Alan Bateman Alan.Bateman at oracle.com
Fri Oct 5 13:23:19 UTC 2012


On 05/10/2012 14:14, Kasper Nielsen wrote:
> :
>
> Given that any class I could find in the JDK that implements
> AutoCloseable blocks until the socket/filesystem/rowset/... is fully
> closed.
>
Not always, or at least not with steam oriented sockets as the default 
is not to linger when there is unsent data.

-Alan.



More information about the core-libs-dev mailing list