ART: Fix GetErrorName.
Add missing case for JVMTI_ERROR_THREAD_SUSPENDED. Also return JVMTI_ERROR_ILLEGAL_ARGUMENT for unspecified inputs. Refactor the code * Remove the switch default case for case checking * Use a lambda to unify the return code. This saves 4K of so size. Add a test. Bug: 38133825 Test: m Test: art/test/testrunner/testrunner.py -b --host -t 901 Change-Id: If46b276b8abcd8b7b8ebbac1106f6b840761b997
Loading
Please sign in to comment