From 43207797d05e54fb945e2fc22145722cb26cb27b Mon Sep 17 00:00:00 2001 From: Sebastien Hertz Date: Tue, 15 Apr 2014 16:03:27 +0200 Subject: Fix JDWP count event modifier Bug: 14053614 Change-Id: I736f6d6802e58e7a4fb29d0558bdd2abd3b2a48e --- runtime/jdwp/jdwp_event.cc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'runtime/jdwp') 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 -- cgit v1.1