From cf7bea35a401af5914efeafd8d488866f36faf1a Mon Sep 17 00:00:00 2001 From: Sebastien Hertz Date: Wed, 16 Apr 2014 12:03:00 +0200 Subject: [PATCH] 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 --- runtime/jdwp/jdwp_handler.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.11.0