Bug 50721

GemStone/S 64 Bit

3.7, 3.6.6, 3.6.5, 3.6.4, 3.6.3, 3.6.2, 3.6.1, 3.6, 3.5.8, 3.5.7, 3.5.6, 3.5.5, 3.5.4, 3.5.3, 3.5.2, 3.5.1, 3.5, 3.4.5, 3.4.4, 3.4.3, 3.4.2, 3.4.x, 3.3.9, 3.3.8, 3.3.7, 3.3.6, 3.3.x, 3.2.15, 3.2.x

3.7.1, 3.6.7

Array >> replaceFrom:to:with:startingAt: for certain ranges may copy correctly

When using Array >> replaceFrom:to:with:startingAt: where the source for the replace is the same as the receiver and the starting position in the source for the replace is less than the target starting index, the replace must copy in reverse to avoid copying bytes that have already been modified.

This case did not always correctly perform the copy for large collections, and may produce incorrect results.


                

Last updated: 11/8/23