harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tim Ellison (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (HARMONY-4669) BinarySearches in Arrays broken
Date Thu, 23 Aug 2007 12:44:30 GMT

     [ https://issues.apache.org/jira/browse/HARMONY-4669?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Tim Ellison resolved HARMONY-4669.
----------------------------------

    Resolution: Fixed

Thanks Imran.

Fixed in LUNI module at repo revision r568958.

Please check the issue is resolved as you expected.



> BinarySearches in Arrays broken
> -------------------------------
>
>                 Key: HARMONY-4669
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4669
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Imran Ghory
>            Assignee: Tim Ellison
>
> All of the binary searches in Arrays.java use " mid = (low + high) >> 1;" to calculate
the average (rather than >>>) so int overflow can result in incorrect mid values.

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


Mime
View raw message