Name: el35337 Date: 04/02/98
The method JavaThead.countStackFrames() requires
that the thread whose frames are being counted be
suspended. But in 1.2 the suspend() method will be
deprecated. I know deprecated does not be disabled
but by requiring a thread to be suspended for one
method while deprecating the method that does the
suspend seems inconsistent. I would suggest that
countStackFrames() be changed so it only counts
the number of frames of the invoking thread, basically
making countStackFrames a static method. This way
suspend would not be a requirement.
(Review ID: 27644)
======================================================================
- duplicates
-
JDK-4102667 Thread.countStackFrames() should be a deprecated method.
- Closed