Commit 1652a214 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
Change-Id: Ife39c973ddb306cabf648774bb16d8ad26150a2e
parent ee9a1db6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment