commit | b64fa53af23efd10f5557f2a4d84a0d55ef3c7aa | [log] [tgz] |
---|---|---|
author | David Brazdil <dbrazdil@google.com> | Wed Nov 21 17:13:37 2018 +0000 |
committer | David Brazdil <dbrazdil@google.com> | Wed Nov 21 17:18:16 2018 +0000 |
tree | 09f04cd865e6994ba8bed910a3ef96fd81437f89 | |
parent | 209ee7580a6a4cea5682ae83448d67edd1981a7c [diff] |
JvmtiHostTest: Unset hidden_api_policy in finally block If a JvmtiHostTest fails, it will leave hidden_api_policy property set to 1. This may cause other tests to fail when they shouldn't (StrictModeTest expects checks enabled) or not fail when there is a genuine problem (setting to 1 disables checks). Test: atest CtsJvmtiRunTest931HostTestCases Change-Id: Ia793b3fccfc9433c3e110455b765ebc8934976de