OSDN Git Service

JDWP: update handling of 8-bit and 16-bit fields
authorSebastien Hertz <shertz@google.com>
Thu, 11 Jun 2015 16:42:58 +0000 (18:42 +0200)
committerSebastien Hertz <shertz@google.com>
Fri, 12 Jun 2015 17:39:29 +0000 (19:39 +0200)
commit4998374789fc62c147027eef022c74a97949ac6e
treef3700150cc6409c177c373813120ba579ffa4c09
parent6ba35b50347aa7418c66c7b046cd164987e95df3
JDWP: update handling of 8-bit and 16-bit fields

We must use special getter/setter for types smaller than int:
boolean, byte, char and short. However, JDWP still requires to treat:
- int and float as 32-bit values
- long and double as 64-bit values

Bug: 21746739

(cherry picked from commit 05c26b30843dd8283c703356e75d51726e8b8e3a)

Change-Id: I2d667291974e191f2c9b10311ce02435b902dd0c
runtime/debugger.cc