diff options
| author | 2016-02-11 20:28:11 +0600 | |
|---|---|---|
| committer | 2016-02-12 15:47:24 +0000 | |
| commit | 980027c7f22f332ad224f662add0df197e71f137 (patch) | |
| tree | 8a664f03bdfa9662bf10a608def52ac42dff81b3 /compiler/optimizing/optimizing_compiler.cc | |
| parent | 5960a3f430d1e7f47ea3db9a8364dc82e3f8add9 (diff) | |
ART: Treat throw with non-reference type as hard failure in verifier.
The code
const v0, 0xbad
throw v0
crashes dex2oatd/Quick by DCHECK in art::Mir2Lir::LoadValueDirect.
dex2oat works fine producing VerifyError later in runtime.
Optimizing also pass as it rejects methods with soft failures.
Fix this by rejecting such methods in Verifier.
Bug: 27148248
Change-Id: Ib783f60a210362654d40e84172e7bd579913a4d4
Signed-off-by: Pavel Vyssotski <pavel.n.vyssotski@intel.com>
Diffstat (limited to 'compiler/optimizing/optimizing_compiler.cc')
0 files changed, 0 insertions, 0 deletions