harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Imran Ghory (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-4669) BinarySearches in Arrays broken
Date Wed, 22 Aug 2007 19:52:30 GMT
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


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