Bug 41342

GemStone/S

6.7.2.1, 6.7.2, 6.7.1, 6.7, 6.6.5, 6.6.4, 6.6.3.3, 6.6.3.2, 6.6.3, 6.6.2, 6.6.1, 6.6, 6.5.8, 6.5.7, 6.5.6, 6.5.5, 6.5.4, 6.5.3, 6.5.2, 6.5.1, 6.5, 6.3.1, 6.3, 6.2.2, 6.2.1, 6.1.6, 6.1.5, 6.1.4

All platforms

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.


                

Last updated: 2/24/11