summaryrefslogtreecommitdiff
path: root/test/ProfileTestMultiDex/Second.java
diff options
context:
space:
mode:
authorRoland Levillain <rpl@google.com>2017-06-26 18:14:39 +0100
committerRoland Levillain <rpl@google.com>2017-06-27 15:45:11 +0100
commit2ed6cce6fcfd031b0f9d83111f01b6b48ead1a32 (patch)
tree6bbbb91f5e4475100b4b0fce907ab87a2fc6502d /test/ProfileTestMultiDex/Second.java
parenta5385510cf884ee1a44577bf2019093937134a84 (diff)
Only look for method optimization annotations in the bootstrap class loader.
When checking for an optimization annotation (FastNative or CriticalNative) on a method, do not resolve the method's annotations' classes as a side effect -- instead, look them up in the bootstrap class loader's resolved types. This is to prevent exceptions from being thrown (during class resolution) in JNI transitions. This change does not affect annotation lookup rules in the context of reflection. (cherry-picked from commit 35e42f0ab3b70203038fe037ee50d39e2d37af9a) Test: art/test/testrunner/testrunner.py -t 656-annotation-lookup-generic-jni Bug: 38454151 Bug: 34659969 Change-Id: Ie6b8b30b96a08baa629c449e3803a031515508d1
Diffstat (limited to 'test/ProfileTestMultiDex/Second.java')
0 files changed, 0 insertions, 0 deletions