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
Loading
Please sign in to comment