diff options
author | Sebastien Hertz <shertz@google.com> | 2014-04-16 12:03:00 +0200 |
---|---|---|
committer | Sebastien Hertz <shertz@google.com> | 2014-04-16 12:03:00 +0200 |
commit | cf7bea35a401af5914efeafd8d488866f36faf1a (patch) | |
tree | 661d028df4d3dfecdf671391a3693181fc6c1503 | |
parent | 51f32a651666b06f3cdac4a80a65db1d7bc90aac (diff) | |
download | art-cf7bea35a401af5914efeafd8d488866f36faf1a.zip art-cf7bea35a401af5914efeafd8d488866f36faf1a.tar.gz art-cf7bea35a401af5914efeafd8d488866f36faf1a.tar.bz2 |
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
-rw-r--r-- | runtime/jdwp/jdwp_handler.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/jdwp/jdwp_handler.cc b/runtime/jdwp/jdwp_handler.cc index 363d4dc..5ffe753 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 |