commit | 5a1e8cc38e1cc6c3f2fc66f039ca0fc5309a0dc3 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Thu Dec 16 11:00:58 2010 -0800 |
committer | Elliott Hughes <enh@google.com> | Thu Dec 16 11:00:58 2010 -0800 |
tree | c239b5fee1c2530193c90fd5847e06dea51dc23c | |
parent | e270027a8e421200a6af45f066c3a6aabe03aa30 [diff] |
MappedByteBuffer get(byte[]) and get(byte[], int, int) weren't updating 'position'. The majority of this change is work to extend our tests to cover MappedByteBuffer too, plus new tests to check that 'position' is always updated correctly by ByteBuffer's relative get/put methods. Bug: 3291927 Change-Id: I58217de45ba65675730f30771fba592cb2af28ff