commit | 2620ff9a08ce7fc6d66b60784b1eecd78eb001ba | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Wed May 12 18:06:34 2010 -0700 |
committer | Elliott Hughes <enh@google.com> | Thu May 13 08:27:57 2010 -0700 |
tree | 686e050a2c45dab980ae67f03955408f92053866 | |
parent | d85168bd730e513cb0bd561030da3f7ea5044725 [diff] |
Fix *Channel to check that they're not trying to write into a read-only ByteBuffer. Previously only DatagramChannel made the effort. Note that I also found another customer for calculateTotalRemaining, and that the near-duplicate I'm removing used an incorrect bound in its for loop. Change-Id: Ia618ce271657a7fe7b3a0050dc089350d61e3398