Commit 3c565d4d authored by David Brazdil's avatar David Brazdil
Browse files

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 1652a214)
parent 8a6e580c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment