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

[jira] Created: (HARMONY-2142) NativeMethodBind event is generated while disabled

NativeMethodBind event is generated while disabled
--------------------------------------------------

                 Key: HARMONY-2142
                 URL: http://issues.apache.org/jira/browse/HARMONY-2142
             Project: Harmony
          Issue Type: Bug
          Components: DRLVM
         Environment: all
            Reporter: Ilya Berezhniuk
            Priority: Minor


NativeMethodBind event is sent after checking phase, capability and corresponding callback.
But check for enable status is not performed.
So if corrresponding capability is set and callback is non-NULL, VM calls user callback even if SetEventNotificationMode(JVMTI_ENABLE) is not called for this event.

-- 
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] Assigned: (HARMONY-2142) [DRLVM][JVMTI] NativeMethodBind event is generated while disabled

Posted by "Gregory Shimansky (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-2142?page=all ]

Gregory Shimansky reassigned HARMONY-2142:
------------------------------------------

    Assignee: Gregory Shimansky

> [DRLVM][JVMTI] NativeMethodBind event is generated while disabled
> -----------------------------------------------------------------
>
>                 Key: HARMONY-2142
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2142
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: all
>            Reporter: Ilya Berezhniuk
>         Assigned To: Gregory Shimansky
>            Priority: Minor
>         Attachments: native_method_bind.patch
>
>
> NativeMethodBind event is sent after checking phase, capability and corresponding callback.
> But check for enable status is not performed.
> So if corrresponding capability is set and callback is non-NULL, VM calls user callback even if SetEventNotificationMode(JVMTI_ENABLE) is not called for this event.

-- 
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-2142) [DRLVM][JVMTI] NativeMethodBind event is generated while disabled

Posted by "Ilya Berezhniuk (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-2142?page=all ]

Ilya Berezhniuk updated HARMONY-2142:
-------------------------------------

    Attachment: native_method_bind.patch

Suggested patch fixes problem described above.
It also fixes a few other problems found in function jvmti_process_native_method_bind_event().

> [DRLVM][JVMTI] NativeMethodBind event is generated while disabled
> -----------------------------------------------------------------
>
>                 Key: HARMONY-2142
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2142
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: all
>            Reporter: Ilya Berezhniuk
>            Priority: Minor
>         Attachments: native_method_bind.patch
>
>
> NativeMethodBind event is sent after checking phase, capability and corresponding callback.
> But check for enable status is not performed.
> So if corrresponding capability is set and callback is non-NULL, VM calls user callback even if SetEventNotificationMode(JVMTI_ENABLE) is not called for this event.

-- 
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-2142) [DRLVM][JVMTI] NativeMethodBind event is generated while disabled

Posted by "Ilya Berezhniuk (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-2142?page=all ]

Ilya Berezhniuk updated HARMONY-2142:
-------------------------------------

    Summary: [DRLVM][JVMTI] NativeMethodBind event is generated while disabled  (was: NativeMethodBind event is generated while disabled)

> [DRLVM][JVMTI] NativeMethodBind event is generated while disabled
> -----------------------------------------------------------------
>
>                 Key: HARMONY-2142
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2142
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: all
>            Reporter: Ilya Berezhniuk
>            Priority: Minor
>
> NativeMethodBind event is sent after checking phase, capability and corresponding callback.
> But check for enable status is not performed.
> So if corrresponding capability is set and callback is non-NULL, VM calls user callback even if SetEventNotificationMode(JVMTI_ENABLE) is not called for this event.

-- 
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-2142) [DRLVM][JVMTI] NativeMethodBind event is generated while disabled

Posted by "Ilya Berezhniuk (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-2142?page=all ]

Ilya Berezhniuk updated HARMONY-2142:
-------------------------------------

    Patch Info: [Patch Available]

> [DRLVM][JVMTI] NativeMethodBind event is generated while disabled
> -----------------------------------------------------------------
>
>                 Key: HARMONY-2142
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2142
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: all
>            Reporter: Ilya Berezhniuk
>            Priority: Minor
>         Attachments: native_method_bind.patch
>
>
> NativeMethodBind event is sent after checking phase, capability and corresponding callback.
> But check for enable status is not performed.
> So if corrresponding capability is set and callback is non-NULL, VM calls user callback even if SetEventNotificationMode(JVMTI_ENABLE) is not called for this event.

-- 
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] Resolved: (HARMONY-2142) [DRLVM][JVMTI] NativeMethodBind event is generated while disabled

Posted by "Gregory Shimansky (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-2142?page=all ]

Gregory Shimansky resolved HARMONY-2142.
----------------------------------------

    Resolution: Fixed

Patch applied at 473505. Please check that it was applied as expected.

> [DRLVM][JVMTI] NativeMethodBind event is generated while disabled
> -----------------------------------------------------------------
>
>                 Key: HARMONY-2142
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2142
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: all
>            Reporter: Ilya Berezhniuk
>         Assigned To: Gregory Shimansky
>            Priority: Minor
>         Attachments: native_method_bind.patch
>
>
> NativeMethodBind event is sent after checking phase, capability and corresponding callback.
> But check for enable status is not performed.
> So if corrresponding capability is set and callback is non-NULL, VM calls user callback even if SetEventNotificationMode(JVMTI_ENABLE) is not called for this event.

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