harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ivan Popov (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-2912) [jdktools][jdwp] Improve METHOD_ENTRY/METHOD_EXIT handlers
Date Thu, 28 Dec 2006 10:15:21 GMT
[jdktools][jdwp] Improve METHOD_ENTRY/METHOD_EXIT handlers

                 Key: HARMONY-2912
                 URL: http://issues.apache.org/jira/browse/HARMONY-2912
             Project: Harmony
          Issue Type: Bug
          Components: JDK
            Reporter: Ivan Popov
            Priority: Minor

In the current implementation JDWP agent uses GetFrameLocation() for the top stack
frame to find method location, but gets methodID and classID from jmethodID
passed to event callback. In usual case this is the same method as reported for
top stack frame. However, if GetMethodLocation() reports different method,
agent will put inconsistent information into reply packet. 

Implementation of METHOD_ENTRY/METHOD_EXIT events should be improved to provide
consistent data or report error if this is not possible. Assertion, currently
presented in source code, is not a perfect solution.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message