diff options
author | Vladimir Marko <vmarko@google.com> | 2020-03-10 14:30:49 +0000 |
---|---|---|
committer | Vladimir Marko <vmarko@google.com> | 2020-03-11 09:48:40 +0000 |
commit | 1dde478f5d18a776b43c4d37dd1b5da07a8147f4 (patch) | |
tree | 08b8286fe8a6064ba2277f706a1c01afed6d90c5 /test/008-exceptions/src/MultiDexBadInit.java | |
parent | 3ee2f0b31d9415e2d2594d29b82dbe8aa8c10035 (diff) |
HStringBuilderAppend cannot be null.
Fix DCHECK() failure where we replaced an instruction
with non-null result (HInvoke StringBuilder.toString())
with an instruction that did not report that the result
cannot be null (HStringBuilderAppend) and then used the
result as both receiver and argument for String.equals().
The fix is to preserve the "cannot be null" invariant.
(cherry picked from commit b1fe5e18318c3af8d0cedc3f19cb6bc51817b859)
Test: Additional test in 697-checker-string-append.
Test: m test-art-host-gtest
Test: testrunner.py --host --optimizing
Bug: 151107293
Bug: 19575890
Change-Id: If2fa5c1a803ca69fbf78d04774cfa25bf6b91723
Diffstat (limited to 'test/008-exceptions/src/MultiDexBadInit.java')
0 files changed, 0 insertions, 0 deletions