Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 6346327
Votes 0
Synopsis JVMTI Doc: Clarify GetStackTrace when start_depth == 0
Category hotspot:jvmti
Reported Against
Release Fixed mustang(b73)
State 10-Fix Delivered, bug
Priority: 3-Medium
Related Bugs
Submit Date 04-NOV-2005
Description
In the spec for GetStackTrace, it says it will return an error if
start_depth >= stackDepth.

This means that for an empty stack (stackDepth ==0), it is impossible to
query the stack trace.

The RI  seems to have a special exemption for start_depth == 0 and
stackDepth ==0  to allow the "default" case (start_depth == 0) to work on
empty stacks.  Perhaps a clarification should be added to the spec for this
case (basically, always allow start_depth == 0, with no check against
stackDepth).
Posted Date : 2005-11-04 21:39:43.0
Work Around
N/A
Evaluation
Should be clarified to state that these tests are only done when start_depth is non-zero.
Posted Date : 2005-11-04 21:39:44.0
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang