commit | 8407b4eb191acb52d3e166347ad79069ac188aef | [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 06:55:48 2018 +0000 |
tree | 83fc5388369cef71de5a1abac78f2a824e1004d0 | |
parent | 43628223265f249a826c6bbc1c6ff7034b029c2b [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