Jump to content

Talk:Non-blocking I/O (Java)

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by SineBot (talk | contribs) at 07:57, 12 December 2007 (Signing comment by 192.9.112.196 - ""). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Can you add some details about the difference between java.io.* and java.nio.* Jgold03 01:20, 27 March 2006 (UTC)[reply]

maybe this is about what the link pointed to: http://java.sun.com/developer/technicalArticles/releases/nio/index.html
--212.202.41.193 20:19, 30 April 2007 (UTC)[reply]

In "Copying NIO Buffers", Method 1 is flawed. The buffer2 object is completely lost after executing "buffer2 = buffer1;". After completing the execution, buffer2 points actually to buffer1.

Last two points of "Some Usage Information for NIO Buffers" are completly wrong. NIO buffers don't block. get() into array larger than remaining() throws BufferUnderflowException instead. get into an array behind read only buffer will proceed as usual - read only buffer is just a wrapper, but never gives its clients the underlaying array anyway. —Preceding unsigned comment added by 192.9.112.196 (talk) 07:55, 12 December 2007 (UTC)[reply]