You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Li Jing Qin (JIRA)" <ji...@apache.org> on 2009/05/14 10:58:45 UTC
[jira] Commented: (HARMONY-6085) [eut][classlib][nio] - modKey in
SelectorImpl should set the new index key to the changed selectionkey
[ https://issues.apache.org/jira/browse/HARMONY-6085?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12709318#action_12709318 ]
Li Jing Qin commented on HARMONY-6085:
--------------------------------------
verified. Thanks regis.
> [eut][classlib][nio] - modKey in SelectorImpl should set the new index key to the changed selectionkey
> ------------------------------------------------------------------------------------------------------
>
> Key: HARMONY-6085
> URL: https://issues.apache.org/jira/browse/HARMONY-6085
> Project: Harmony
> Issue Type: Bug
> Environment: linux
> Reporter: Li Jing Qin
> Assignee: Regis Xu
> Fix For: 5.0M10
>
> Attachments: HARMONY-6085.diff, org.eclipse.update.tests.core_linux.gtk.x86.html
>
>
> modKey do two things:
> 1. delkey
> 2. addKey
> When the old selectionKey is readded, new index which is returned from the addkey should be set to this selectionkey.
> If does not do so. two problems will occurred, during eut update test on the lunix
> 1. Delete the wrong selectionkey, which will cause the right selector.select() return RESOURCE NOT READY. More over it will cause the test case try lots of time to get the resource.
> 2. ArrayIndexOutOfBounds because of the wrong index.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.