commit | cc060d48b3e7f013f00eebff5d079c59c1811207 | [log] [tgz] |
---|---|---|
author | Przemyslaw Szczepaniak <pszczepaniak@google.com> | Mon Dec 07 20:10:56 2015 +0000 |
committer | Przemyslaw Szczepaniak <pszczepaniak@google.com> | Tue Dec 08 09:35:23 2015 +0000 |
tree | dd45c4ba8db98fb1eae2b7a3c32aaea3582f91b0 | |
parent | 3f2261217d5cb46a3247158fe1082ebffb87a2dd [diff] |
Fix ByteBuffer#as*Buffer using parent limit (Direct|Heap)ByteBuffer#as*Buffer results were affected by the #limit(int) call on its parent - limit check was done on each call to the get/put operation. This is mitigated by creating a #duplicate of parent for each as*Buffer result. Bug: 26019694 Bug: 26019022 Bug: 26011790 Change-Id: If564ef9421ea0232b31aac048b3600e667c56c16