| This testcase exercises ThreadReference.CurrentContendedMonitor command.
At first the test starts FramesDebuggee which recursively invokes
the method 'FramesDebuggee.recursiveMethod' thereby the specified depth
'FramesDebuggee.DEPTH' of recursion is reached.
Then the tests requests list of frames for main thread by invoking
the JDWP command ThreadReference.Frames and compares size of
this list with the value got via invoking ThreadReference.FrameCount command.
The test expects that these values are equal, otherwise the test fail.
|