commit | 43207797d05e54fb945e2fc22145722cb26cb27b | [log] [tgz] |
---|---|---|
author | Sebastien Hertz <shertz@google.com> | Tue Apr 15 16:03:27 2014 +0200 |
committer | Sebastien Hertz <shertz@google.com> | Tue Apr 15 16:18:10 2014 +0200 |
tree | 485fe12312a751569c4a476c2efc517a05b4070e | |
parent | 9b417e4f0f87da6bfe8dc5f02c987acfcb6dca31 [diff] |
Fix JDWP count event modifier Bug: 14053614 Change-Id: I736f6d6802e58e7a4fb29d0558bdd2abd3b2a48e
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 @@ 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