commit | af50e415a187190488d4694f307c23705203c53e | [log] [tgz] |
---|---|---|
author | Fredrik Roubert <roubert@google.com> | Tue Jul 28 00:14:08 2015 +0200 |
committer | Mathieu Chartier <mathieuc@google.com> | Mon Jul 27 16:23:46 2015 -0700 |
tree | b1dbb0cd27a0b73feabae818756d54ad0e2ba49b | |
parent | 458a7c7aba37bf41e40862046846fa77046ac23c [diff] |
Bugfix: Java char is 16 bits, can not be treated as boolean. Using SetFieldBooleanVolatile() and SetFieldBoolean() happens to work for char values that only use the lower 8 bits, but is a mistake that was introduced by the "Add AccessibleObject and Field to mirror" commit: https://android.googlesource.com/platform/art/+/daaf326 (cherry picked from commit 3152c82b0d33e5fb0a4aa964ea58451c72734444) Bug:22772717 Change-Id: Iec02ba3084c992ea239ecef688d7d29c7e21ae16