Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
0.19.1
-
None
-
None
-
Reviewed
Description
if (!key.numeric) {
compareResult = compareBytes(first, start1, end1, second, start2, end2);
}
those lines above, compare two byte arrays in a wrong way, it will cause an ArrayIndexOutOfBoundsException, that should be
if (!key.numeric) {
compareResult = compareBytes(first, start1, end1-start1, second, start2, end2-start2);
}