What happens if a Channel is read after being closed?

Gili cowwoc at bbs.darktech.org
Thu Aug 27 09:21:37 PDT 2009


The Javadoc talks about what happens if a channel is closed while an
operation is pending but it says nothing about what happens if someone tries
reading after a close() operation completed. Shouldn't the methods throw an
appropriate exception?

Gili
-- 
View this message in context: http://n2.nabble.com/What-happens-if-a-Channel-is-read-after-being-closed-tp3527766p3527766.html
Sent from the nio-discuss mailing list archive at Nabble.com.


More information about the nio-discuss mailing list