diff options
author | Andreas Gampe <agampe@google.com> | 2017-09-19 17:10:10 -0700 |
---|---|---|
committer | Andreas Gampe <agampe@google.com> | 2017-09-19 18:29:41 -0700 |
commit | fd03f1ef004b194a3408f52a8812e1f47b21b6cc (patch) | |
tree | 82ac30f682c5d34a17fe178e7b85967b6340d824 /compiler/optimizing/codegen_test.cc | |
parent | 335ee588ec4bc22be759f5e0fd4b972978e5ace6 (diff) |
ART: Improve double-JNI-load exception message
Try to print the involved classloaders. The code is suboptimal
and will not cache any intermediates, as this is an unexpected
failure - but aids in debugging application issues.
Add a test for the behavior of duplicate library loading in
separate classloaders. For ART, add a rough test for the pattern
of the error message.
Bug: 65574359
Test: m test-art-host
Test: art/test/testrunner/testrunner.py -b --host -t 004-JniTest
Change-Id: I6c6c7726a79172f39153d4a458eba4fb3e8e85b0
Diffstat (limited to 'compiler/optimizing/codegen_test.cc')
0 files changed, 0 insertions, 0 deletions