commit | bcae1fe692a8c5d9225a9699a932380b5659a735 | [log] [tgz] |
---|---|---|
author | Stephen Hines <srhines@google.com> | Tue Sep 25 19:17:33 2012 -0700 |
committer | Stephen Hines <srhines@google.com> | Tue Sep 25 20:12:47 2012 -0700 |
tree | abd7a4e2008548f3dbb693c2065779e1593c67e1 | |
parent | 9ca96e70657cf5437a294213f56ba4768dc08ad2 [diff] |
Switch to FieldPacker for signed sub-integer types. The issue here is that all of our small Java primitive types (byte, short, char) get promoted/passed as int. This in turn causes our setVar() to do a 4-byte memcpy() instead of the proper (smaller) amount. Bug: 6865598 Change-Id: I404c3bb6024686d1274229a73feec1e6c7e3fc7b