diff options
author | David Brazdil <dbrazdil@google.com> | 2018-05-09 13:43:56 +0100 |
---|---|---|
committer | David Brazdil <dbrazdil@google.com> | 2018-05-10 17:03:54 +0100 |
commit | 3c565d4d69142cacd44640f9b7c91647901dfa7f (patch) | |
tree | 8e56ebca5ca3c759fd0c55147fe4517cbf385f16 /annotations/generate_annotated_java_files.py | |
parent | 8a6e580cf8d7b04cadb5eada66c52a3bc4ccb8a0 (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
Merged-In: Ife39c973ddb306cabf648774bb16d8ad26150a2e
Change-Id: Ife39c973ddb306cabf648774bb16d8ad26150a2e
(cherry picked from commit 1652a2147a40fa9306cbcfabd4a5070eb80f99ce)
Diffstat (limited to 'annotations/generate_annotated_java_files.py')
0 files changed, 0 insertions, 0 deletions