You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Chunrong Lai (JIRA)" <ji...@apache.org> on 2007/10/29 06:22:50 UTC

[jira] Created: (HARMONY-5036) [classlib][awt] potential dead loop in Component.getMousePosition()

[classlib][awt] potential dead loop in Component.getMousePosition()
-------------------------------------------------------------------

                 Key: HARMONY-5036
                 URL: https://issues.apache.org/jira/browse/HARMONY-5036
             Project: Harmony
          Issue Type: Bug
          Components: Classlib
         Environment: Win32 + Linux32
            Reporter: Chunrong Lai



 I observed a potential deadloop in Container.isComponentAt() which is a private method called from Component.getMousePosition().
 The deaploop happens in a situation of looking for sub-component repeatly. Especially when the input 
position is in a container but not in any of its children.

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


[jira] Assigned: (HARMONY-5036) [classlib][awt] potential dead loop in Component.getMousePosition()

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

Alexey Petrenko reassigned HARMONY-5036:
----------------------------------------

    Assignee: Alexey Petrenko

> [classlib][awt] potential dead loop in Component.getMousePosition()
> -------------------------------------------------------------------
>
>                 Key: HARMONY-5036
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5036
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>         Environment: Win32 + Linux32
>            Reporter: Chunrong Lai
>            Assignee: Alexey Petrenko
>         Attachments: H5036.fix.patch
>
>
>  I observed a potential deadloop in Container.isComponentAt() which is a private method called from Component.getMousePosition().
>  The deaploop happens in a situation of looking for sub-component repeatly. Especially when the input 
> position is in a container but not in any of its children.

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


[jira] Updated: (HARMONY-5036) [classlib][awt] potential dead loop in Component.getMousePosition()

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

Chunrong Lai updated HARMONY-5036:
----------------------------------

    Attachment: H5036.fix.patch


 So here is the patch.

> [classlib][awt] potential dead loop in Component.getMousePosition()
> -------------------------------------------------------------------
>
>                 Key: HARMONY-5036
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5036
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>         Environment: Win32 + Linux32
>            Reporter: Chunrong Lai
>         Attachments: H5036.fix.patch
>
>
>  I observed a potential deadloop in Container.isComponentAt() which is a private method called from Component.getMousePosition().
>  The deaploop happens in a situation of looking for sub-component repeatly. Especially when the input 
> position is in a container but not in any of its children.

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


[jira] Resolved: (HARMONY-5036) [classlib][awt] potential dead loop in Component.getMousePosition()

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

Alexey Petrenko resolved HARMONY-5036.
--------------------------------------

    Resolution: Fixed

The pacth has been applied.
Please verify.

> [classlib][awt] potential dead loop in Component.getMousePosition()
> -------------------------------------------------------------------
>
>                 Key: HARMONY-5036
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5036
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>         Environment: Win32 + Linux32
>            Reporter: Chunrong Lai
>            Assignee: Alexey Petrenko
>         Attachments: H5036.fix.patch
>
>
>  I observed a potential deadloop in Container.isComponentAt() which is a private method called from Component.getMousePosition().
>  The deaploop happens in a situation of looking for sub-component repeatly. Especially when the input 
> position is in a container but not in any of its children.

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