summaryrefslogtreecommitdiff
path: root/test/008-exceptions/src/MultiDexBadInitWrapper1.java
diff options
context:
space:
mode:
authorDavid Brazdil <dbrazdil@google.com>2019-04-11 17:39:11 +0100
committerDavid Brazdil <dbrazdil@google.com>2019-04-13 09:58:59 +0000
commit3093856740f673e7cc5ceaa420e0528aa837295b (patch)
tree1649acfeef3f458e01a601a5d6037f57d8d8e359 /test/008-exceptions/src/MultiDexBadInitWrapper1.java
parent5af0a2b89aa3ebdb0981dbfa4ec3680d697cb5d8 (diff)
Set core platform API policy from command line flag
So as to avoid any performance penalty from core platform API access checks, disable them by default. AndroidRuntime.cpp now passes the value of the "persist.debug.dalvik.vm.core_platform_api_policy" to the runtime, allowing a user to enable core platform API checks on demand. The workflow for a tester is: - adb shell setprop <property> "just-warn" - adb reboot - adb logcat | grep "Core platform API" Test: manual, observe warnings in logcat Test: art/test/testrunner/run_build_test_target.py art-test Bug: 125701194 Merged-In: Iae09a8f44918dc349bc10dbdd703043667f51268 Change-Id: Iae09a8f44918dc349bc10dbdd703043667f51268 (cherry picked from commit acbd490663dbe4750834cafdde016831632367b7)
Diffstat (limited to 'test/008-exceptions/src/MultiDexBadInitWrapper1.java')
0 files changed, 0 insertions, 0 deletions