Hi,
ByteString>>at:put: has an immutability check if the primitive has failed and we are trying to insert a character.
<snip>
[self isImmutable ifTrue:
[^self noModificationErrorFor: #at:put: index: index value: aCharacter].
<snip>
However, TwoByteString>>at:put: has no equivalent check, nor does FourByteString.
Our code uses the no modification error to trigger replication changes to the GemStone server.
--
Eric Winger
Staff Engineer
GemTalk Systems
_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc