summaryrefslogtreecommitdiff
path: root/test/008-exceptions/src/MultiDexBadInit.java
diff options
context:
space:
mode:
authorAlex Light <allight@google.com>2020-06-08 09:21:12 -0700
committerAlex Light <allight@google.com>2020-06-09 15:36:02 +0000
commit42131731f8b0e93493e5642667e7bd133dea2254 (patch)
treec157ef622b484980c280ea36f8bde72d3f452aff /test/008-exceptions/src/MultiDexBadInit.java
parent9db35462c6806529d1e885caba0ef293fa52db2e (diff)
Preserve JNI bindings across structural redefinition
We were incorrectly clearing the JNI bindings of native methods on classes which are structurally redefined. This can cause major issues with code which uses JNIEnv::RegisterNatives to setup native methods. This change copies the required information from the old to the new method. Since the RegisterNatives method can be run asynchronously we need to wait until we gain the final SuspendAll to actually read and copy the registration. Test: ./test.py --host Bug: 158476592 Merged-In: Ie8a33234bb852a46e5275502c842553637c8a2c6 Change-Id: Ie8a33234bb852a46e5275502c842553637c8a2c6 (cherry picked from commit 16527e892b13c9e1fb34f8d2e9993e58a72ac662)
Diffstat (limited to 'test/008-exceptions/src/MultiDexBadInit.java')
0 files changed, 0 insertions, 0 deletions