Commit af50e415 authored by Fredrik Roubert's avatar Fredrik Roubert Committed by Mathieu Chartier
Browse files

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 3152c82b)

Bug:22772717

Change-Id: Iec02ba3084c992ea239ecef688d7d29c7e21ae16
parent 458a7c7a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment