Bug 39922

GemStone/S

6.5.8, 6.5.7.5, 6.5.7, 6.5.6, 6.5.5, 6.5.4, 6.5.2, 6.5.1, 6.5, 6.3.1, 6.3, 6.2.x, 6.2, 6.1.6, 6.1.5, 6.1.x, 6.0.x, 5.1.5.1

All

6.6

findString:startingAt: incorrect for empty string argument

When CharacterCollection >> findString:startingAt: is called with a search argument that is an empty string '', it returns 1, rather than 0.

Other Smalltalk implementations of findString:startingAt:, and GemStone's method SequenableCollection >> indexOfSubCollection:startingAt: return 0 for this case.


Last updated: 4/10/09