summaryrefslogtreecommitdiff
path: root/test/utils/python/generate_java_main.py
diff options
context:
space:
mode:
authorFredrik Roubert <roubert@google.com>2015-07-28 00:14:08 +0200
committerFredrik Roubert <roubert@google.com>2015-07-28 00:55:06 +0200
commit3152c82b0d33e5fb0a4aa964ea58451c72734444 (patch)
treeb5de74aa2d878aa9867d6e6589ec47917dd59f8a /test/utils/python/generate_java_main.py
parent0fae2f5851dd79c4100134a92f997b2e7a520083 (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
Diffstat (limited to 'test/utils/python/generate_java_main.py')
0 files changed, 0 insertions, 0 deletions