-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P3
-
Affects Version/s: 6
-
Component/s: core-libs
-
b03
-
generic
-
generic
-
Not verified
Doug Lea writes:
"""
It just occurred to me that there is another binary-search-like indexing
overflow error, in TreeMap.java line 2357:
int mid = (lo + hi) / 2;
ought to be
int mid = (lo + hi) >>> 1;
"""
"""
It just occurred to me that there is another binary-search-like indexing
overflow error, in TreeMap.java line 2357:
int mid = (lo + hi) / 2;
ought to be
int mid = (lo + hi) >>> 1;
"""
- relates to
-
JDK-5045582 (coll) binarySearch() fails for size larger than 1<<30
-
- Closed
-