Bug: 41341

Impact:

Product:
GemStone/S 64 Bit

Versions:
2.4.5.1, 2.4.5, 2.4.4.8, 2.4.4.7, 2.4.4.6, 2.4.4.5, 2.4.4.4, 2.4.4.3, 2.4.4, 2.4.3, 2.4.2, 2.4.1, 2.4, 2.3.1.6, 2.3.1, 2.3, 2.2.5.4, 2.2.5.3, 2.2.5.2, 2.2.5.1, 2.2.5, 2.2.x, 2.2, 2.1.4

Platform:
All platform

Fixed In:
3.0

Encoded size ByteArray comparison method primitive failures

When using one of the two encoded size ByteArray comparison methods with
indexing arguments other than one, they will occationally fail with #rtErrPrimFailed
(2258).

The problem methods are:

ByteArray>>compareStringAt:to:startingAt:sizeBytes:useCase:
ByteArray>>shortStringAt:compareWith:startingAt:opCode:

Using a value other than 1 as an argument to *StringAt: or startingAt:
will expose the bug.

Workaround:

No workaround.