users@grizzly.java.net

ByteBufferInputStream.read(ByteBuffer bb) returns incorrect value

From: Ramesh Parthasarathy <Ramesh.Parthasarathy_at_Sun.COM>
Date: Mon, 31 Mar 2008 08:55:26 +0000

Hi ,
        The read(ByteBuffer bb) seems to be returning the size (limit) of the
buffer rather than the bytes read.
Should it return eof rather than return bb.limit(). This is a problem
when we are reading with a bytebuffer that has some data in it.
Please let me know if am missing something, or should i create an issue
for this.

Thanks
-Ramesh