You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Ivan Popov (JIRA)" <ji...@apache.org> on 2006/12/28 11:11:21 UTC

[jira] Created: (HARMONY-2911) [jdktools][jdwp] handle JVMTI_ERROR_NATIVE_METHOD correctly

[jdktools][jdwp] handle JVMTI_ERROR_NATIVE_METHOD correctly
-----------------------------------------------------------

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


In some cases JDWP agent can call some JVMTI functions,
wich return 'JVMTI_ERROR_NATIVE_METHOD' error for native
methods.

For example, the callbacks for some events can call the
'GetMethodLocation()' JVMTI function. If such callback
is called for native method this function returns 
'JVMTI_ERROR_NATIVE_METHOD' error and JDWP agent
throws AgentException(error).

But in these cases JDWP agent should either avoid 
to call such JVMTI fucntions for native method or to 
react to 'JVMTI_ERROR_NATIVE_METHOD' by special way.


-- 
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

        

[jira] Updated: (HARMONY-2911) [jdktools][jdwp] handle JVMTI_ERROR_NATIVE_METHOD correctly

Posted by "Ivan Popov (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-2911?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ivan Popov updated HARMONY-2911:
--------------------------------

    Issue Type: Improvement  (was: Bug)

> [jdktools][jdwp] handle JVMTI_ERROR_NATIVE_METHOD correctly
> -----------------------------------------------------------
>
>                 Key: HARMONY-2911
>                 URL: https://issues.apache.org/jira/browse/HARMONY-2911
>             Project: Harmony
>          Issue Type: Improvement
>          Components: JDK
>            Reporter: Ivan Popov
>            Priority: Minor
>
> In some cases JDWP agent can call some JVMTI functions,
> wich return 'JVMTI_ERROR_NATIVE_METHOD' error for native
> methods.
> For example, the callbacks for some events can call the
> 'GetMethodLocation()' JVMTI function. If such callback
> is called for native method this function returns 
> 'JVMTI_ERROR_NATIVE_METHOD' error and JDWP agent
> throws AgentException(error).
> But in these cases JDWP agent should either avoid 
> to call such JVMTI fucntions for native method or to 
> react to 'JVMTI_ERROR_NATIVE_METHOD' by special way.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.