VW7.10 no immutability check in TwoByteString>>at:put:

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

VW7.10 no immutability check in TwoByteString>>at:put:

Eric Winger-7
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