diff options
author | Aart Bik <ajcbik@google.com> | 2016-07-25 17:52:22 -0700 |
---|---|---|
committer | Aart Bik <ajcbik@google.com> | 2016-07-29 15:53:18 -0700 |
commit | db698f1add0bfe5e482b837b8dcf805ee957d694 (patch) | |
tree | 00071a455b8fe88cf0eeb4dd31f5e2f36a10861a /compiler/optimizing/graph_visualizer.cc | |
parent | 85c4a4b8c9eabfe16e4e49f9b4aa78c1bf4be023 (diff) |
Fix for interpreter crash on new instance of class
Rationale:
Fuzz testing found divergences between the compiler and interpreter
which turned out to be caused by calling instance on java.lang.Class
(this worked for compiler but crashed interpeter). Since RI does not
allow this construct, solution is to force interpreter in this
unlikely case and throw run time exception like RI. This fixes
two cases found with fuzz testing. CL also includes
fail-before/pass-after test.
Test: 600-verifier-fails
BUG=29758098
Change-Id: Ie80f7758def44e6655d28fec4c10c34ffa0fd60b
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions