Mercurial > hg > openjdk > hsx14
changeset 552:def3a48c386b
6843580: JavaThread.getStackBase throws sun.jvm.hotspot.WrongTypeException invoked by jdb
Reviewed-by: phh
author | asaha |
---|---|
date | Wed, 20 May 2009 16:42:31 -0700 |
parents | 25a020f13592 |
children | 09f7962b8b44 |
files | agent/src/share/classes/sun/jvm/hotspot/runtime/JavaThread.java |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/agent/src/share/classes/sun/jvm/hotspot/runtime/JavaThread.java Thu Apr 30 16:21:47 2009 -0700 +++ b/agent/src/share/classes/sun/jvm/hotspot/runtime/JavaThread.java Wed May 20 16:42:31 2009 -0700 @@ -317,11 +317,11 @@ } public Address getStackBase() { - return stackBaseField.getValue(); + return stackBaseField.getValue(addr); } public long getStackSize() { - return stackSizeField.getValue(); + return stackSizeField.getValue(addr); } /** Gets the Java-side thread object for this JavaThread */