--- a/hotspot/agent/src/share/classes/sun/jvm/hotspot/tools/PStack.java Mon Jun 11 13:10:14 2012 -0400
+++ b/hotspot/agent/src/share/classes/sun/jvm/hotspot/tools/PStack.java Thu Jun 14 02:12:46 2012 -0700
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2003, 2006, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2012, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -158,7 +158,7 @@
printUnknown(out);
}
}
- f = f.sender();
+ f = f.sender(th);
}
} catch (Exception exp) {
exp.printStackTrace();