summaryrefslogtreecommitdiff
path: root/test/ProfileTestMultiDex/Second.java
diff options
context:
space:
mode:
authorAart Bik <ajcbik@google.com>2018-02-08 11:23:07 -0800
committerAart Bik <ajcbik@google.com>2018-02-08 11:23:07 -0800
commite78471d19081a53ed13d9078b000b78b6c975e1f (patch)
tree99753e6a78f4d37bdac7f62da13f6b6ea91defb7 /test/ProfileTestMultiDex/Second.java
parent6568c1c52ca504200c1852b92c1029728938298d (diff)
Make exception test more robust against dex changes.
Rationale: With the shift from dx to d8, dex bytecode may be layed out slightly different. The exception test was not particularly robust against this, as it was looking for instruction at dex_pc == 3 in method g(). Incidentialy, the way it was setup, it would even use that dex_pc for querying f(), which seemed unintentional (and makes it hard to make the test more robust by e.g. looking up the new instance instruction). Therefore, test was made more robust by simply assuming dex_pc == 0, which consistently maps to first statement in source. Bug: 73050355 Test: exception_test Change-Id: Ic5b2784a48ae10d139c0b77a3bbfcc53b58a5b42
Diffstat (limited to 'test/ProfileTestMultiDex/Second.java')
0 files changed, 0 insertions, 0 deletions