commit | e9e1750a916cf602df722515736d21af63de1def | [log] [tgz] |
---|---|---|
author | Sebastien Hertz <shertz@google.com> | Thu Feb 23 14:12:13 2017 +0100 |
committer | Sebastien Hertz <shertz@google.com> | Mon Mar 27 10:31:18 2017 +0200 |
tree | 860a410a37e47b41b75dea14d111bba4b2c43133 | |
parent | e290f33f19bf9bafe4f8857028e1e674dbe8e00b [diff] |
Cleanup construction of Value instances Constructors are error-prone due to implicit conversion (char -> int, ...) so we introduce dedicated factory methods instead. Also allows to remove useless casts (due to safer API). Test: art/tools/run-jdwp-tests.sh --mode=host --variant=X64 Change-Id: I387eda20a2ff20c06c4a60afcdbfcd4e0392ca28