commit | 782f9b660fcf7d5384f10ff2f1710238897003a3 | [log] [tgz] |
---|---|---|
author | David Brazdil <dbrazdil@google.com> | Thu Feb 08 06:55:48 2018 +0000 |
committer | David Brazdil <dbrazdil@google.com> | Thu Feb 08 07:40:12 2018 +0000 |
tree | 83fc5388369cef71de5a1abac78f2a824e1004d0 | |
parent | bbe18671e099657a13413cb8ea5938b40f90a144 [diff] |
Disable hidden API checks during WellKnownClasses::Init WellKnownClasses gets handles on hidden methods/fields from an unattached native thread using JNI. The hidden API logic assumes these calls are not coming from boot class path and blocks access. Disable the checks during the Init routing. Bug: 64382372 Test: make Change-Id: I53b2c5a29b2b01667a002283b84c6095b37ba724 (cherry picked from commit 8407b4eb191acb52d3e166347ad79069ac188aef)