OSDN Git Service

Check for errors in ThreadGroupReference JDWP commands
authorSebastien Hertz <shertz@google.com>
Mon, 15 Sep 2014 17:21:30 +0000 (19:21 +0200)
committerSebastien Hertz <shertz@google.com>
Sun, 12 Oct 2014 12:12:29 +0000 (14:12 +0200)
commit5d1c1bbd4c8a1727027d0ae69277af6f6f6badf3
tree3793980bea187169d74d630042768b6a7a1ac626
parenta4fee49a5023a3cf8431597950ee87c711d0b81c
Check for errors in ThreadGroupReference JDWP commands

Returns INVALID_OBJECT error for null or invalid object. Also returns
INVALID_THREAD_GROUP error when the object is not a java.lang.ThreadGroup.

Removes unused Dbg::GetMainThreadGroupId method.

Bug: 17503230
(cherry picked from commit a06430c76981d545b5f2b64a7ef53c44c030cf73)

Change-Id: Ic39d3d2c45bf288fc22d908a3c90a3ca24f1c4d4
runtime/debugger.cc
runtime/debugger.h
runtime/jdwp/jdwp_handler.cc