diff options
author | David Brazdil <dbrazdil@google.com> | 2018-05-09 13:43:56 +0100 |
---|---|---|
committer | David Brazdil <dbrazdil@google.com> | 2018-05-09 17:58:57 +0100 |
commit | 1652a2147a40fa9306cbcfabd4a5070eb80f99ce (patch) | |
tree | 0b03f5069debbea8529c84cc235ce3b631b257e2 /annotations/generate_annotated_java_files.py | |
parent | ee9a1db6cdbc033d84c7cc79b93dde340a335fa8 (diff) |
Add VMDebug method for allowing reflection from a specific class
Adds a native method VMDebug.allowHiddenApiReflectionFrom which
takes a Class object and passes it down to the runtime to be
exempt from subsequent non-SDK API checks.
This only works for Java debuggable processes, throws SecurityException
otherwise.
This does not work for non-SDK API uses by linking.
Bug: 64382372
Test: N/A
Change-Id: Ife39c973ddb306cabf648774bb16d8ad26150a2e
Diffstat (limited to 'annotations/generate_annotated_java_files.py')
0 files changed, 0 insertions, 0 deletions