commit | 3152c82b0d33e5fb0a4aa964ea58451c72734444 | [log] [tgz] |
---|---|---|
author | Fredrik Roubert <roubert@google.com> | Tue Jul 28 00:14:08 2015 +0200 |
committer | Fredrik Roubert <roubert@google.com> | Tue Jul 28 00:55:06 2015 +0200 |
tree | b5de74aa2d878aa9867d6e6589ec47917dd59f8a | |
parent | 0fae2f5851dd79c4100134a92f997b2e7a520083 [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 Change-Id: Iec02ba3084c992ea239ecef688d7d29c7e21ae16