From: Sebastien Hertz Date: Wed, 16 Apr 2014 10:03:00 +0000 (+0200) Subject: Disable JDWP field watchpoint capabilities X-Git-Tag: android-x86-7.1-r1~889^2~4379^2 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=cf7bea35a401af5914efeafd8d488866f36faf1a;p=android-x86%2Fart.git Disable JDWP field watchpoint capabilities We do not fully support field watchpoint yet. We can only enable these capabilities when we do report these events. Bug: 8267708 Change-Id: I07ccf7ddffdd26e143b7fb0f13ebe030d75e8491 --- diff --git a/runtime/jdwp/jdwp_handler.cc b/runtime/jdwp/jdwp_handler.cc index 363d4dc88..5ffe753db 100644 --- a/runtime/jdwp/jdwp_handler.cc +++ b/runtime/jdwp/jdwp_handler.cc @@ -353,8 +353,8 @@ static JdwpError VM_DisposeObjects(JdwpState*, Request& request, ExpandBuf*) static JdwpError VM_Capabilities(JdwpState*, Request&, ExpandBuf* reply) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_) { - expandBufAdd1(reply, true); // canWatchFieldModification - expandBufAdd1(reply, true); // canWatchFieldAccess + expandBufAdd1(reply, false); // canWatchFieldModification + expandBufAdd1(reply, false); // canWatchFieldAccess expandBufAdd1(reply, true); // canGetBytecodes expandBufAdd1(reply, true); // canGetSyntheticAttribute expandBufAdd1(reply, true); // canGetOwnedMonitorInfo