Bug 49864

GemStone/S 64 Bit

3.6.3, 3.6.2, 3.6.1, 3.6, 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.1, 3.4, 3.3.9, 3.3.8, 3.3.7, 3.3.6, 3.3.x, 3.3

3.6.4

Passivated structures containing instances of Utf8 have errors on activation

If a structure containing an instance of Utf8 is passivated, it errors on activation.

Workaround

Add the following method as SystemUser, and commit

category: 'Storing and Loading'
classmethod: Utf8
loadFrom: passiveObj
  | sz ba |
  sz := passiveObj readSize .
  ba := ByteArray new: sz .
  ba loadFrom: passiveObj .
  ^ self withBytes: ba .
%

Last updated: 3/11/22