diff options
author | Sebastien Hertz <shertz@google.com> | 2014-04-15 16:03:27 +0200 |
---|---|---|
committer | Sebastien Hertz <shertz@google.com> | 2014-04-15 16:18:10 +0200 |
commit | 43207797d05e54fb945e2fc22145722cb26cb27b (patch) | |
tree | 485fe12312a751569c4a476c2efc517a05b4070e /runtime/jdwp | |
parent | 9b417e4f0f87da6bfe8dc5f02c987acfcb6dca31 (diff) | |
download | art-43207797d05e54fb945e2fc22145722cb26cb27b.zip art-43207797d05e54fb945e2fc22145722cb26cb27b.tar.gz art-43207797d05e54fb945e2fc22145722cb26cb27b.tar.bz2 |
Fix JDWP count event modifier
Bug: 14053614
Change-Id: I736f6d6802e58e7a4fb29d0558bdd2abd3b2a48e
Diffstat (limited to 'runtime/jdwp')
-rw-r--r-- | runtime/jdwp/jdwp_event.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/jdwp/jdwp_event.cc b/runtime/jdwp/jdwp_event.cc index 9b3ea2e..3b2a6d3 100644 --- a/runtime/jdwp/jdwp_event.cc +++ b/runtime/jdwp/jdwp_event.cc @@ -422,6 +422,9 @@ static bool ModsMatch(JdwpEvent* pEvent, ModBasket* basket) case MK_COUNT: CHECK_GT(pMod->count.count, 0); pMod->count.count--; + if (pMod->count.count > 0) { + return false; + } break; case MK_CONDITIONAL: CHECK(false); // should not be getting these |