summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorQuang Luong <qal@google.com>2019-04-01 18:55:29 -0700
committerQuang Luong <qal@google.com>2019-04-04 13:12:26 -0700
commitabe10b3e62accae7a9c218bf24ebe49754663e8a (patch)
treeb17007184a8b75529148fd6b79b17fdb6de286f2 /tools/aapt2/java/JavaClassGenerator_test.cpp
parentdd07ae579c291a2b6ffe09bd576fd908eb9e5ddd (diff)
Catch ArrayIndexOutOfBoundsException in StateMachine.toString()
StateMachine.toString() calls mSmHandler.getCurrentState(). In the rare case when mStateStackTopIndex is -1 due to the StateMachine being not yet initalized, this results in an ArrayIndexOutOfBoundsException. Bug: 124858416 Test: none Change-Id: Id558be95b6e12d8a923d325bca5f6f6d7f942b22
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions