Bug 33404

GemStone/S

6.1.6, 6.1.5, 6.1.x, 6.0.x, 5.1.5.1, 5.1.5

6.2

<=, >=, and default sort incorrectly case-sensitive for DoubleByteStrings

DoubleByteString is missing implementations of <= and >=.  The
inherited implementation is case sensitive, unlike < and >.
< and > sort case-insensitive, with the exception of characters
that are equal ignoring case, in which the uppercase would be
before the lowercase.

As a result, <=, >=, and users of this such as the default sort of
SortedCollections, will not collate correctly with respect to case,
when DoubleByteStrings are the receiver in the comparison operation.

Workaround

Copy the implementation of String >= and String <= to
DoubleByteString.


Last updated: 1/25/06