diff options
author | Sebastien Hertz <shertz@google.com> | 2014-04-16 07:29:10 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2014-04-16 07:29:11 +0000 |
commit | 172109b72383f109f0ee240955e15643ba755f63 (patch) | |
tree | 2fd5220bc0c1b8a3396de47619df2dbcfd1fcc2d /runtime/jdwp | |
parent | 9623c6668962559e818d1e7f05a58dcb96c71fa9 (diff) | |
parent | 43207797d05e54fb945e2fc22145722cb26cb27b (diff) | |
download | art-172109b72383f109f0ee240955e15643ba755f63.zip art-172109b72383f109f0ee240955e15643ba755f63.tar.gz art-172109b72383f109f0ee240955e15643ba755f63.tar.bz2 |
Merge "Fix JDWP count event modifier"
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 9627802..6908047 100644 --- a/runtime/jdwp/jdwp_event.cc +++ b/runtime/jdwp/jdwp_event.cc @@ -407,6 +407,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 |